CVE-2025-48952

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-48952
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48952.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-48952
Related
  • GHSA-4p4p-vq2v-9489
Published
2025-07-04T23:15:21Z
Modified
2025-08-07T06:38:53.370826Z
Summary
[none]
Details

NetAlertX is a network, presence scanner, and alert framework. Prior to version 25.6.7, a vulnerability in the authentication logic allows users to bypass password verification using SHA-256 magic hashes, due to loose comparison in PHP. In vulnerable versions of the application, a password comparison is performed using the == operator at line 40 in front/index.php. This introduces a security issue where specially crafted "magic hash" values that evaluate to true in a loose comparison can bypass authentication. Because of the use of == instead of the strict ===, different strings that begin with 0e and are followed by only digits can be interpreted as scientific notation (i.e., zero) and treated as equal. This issue falls under the Login Bypass vulnerability class. Users with certain "weird" passwords that produce magic hashes are particularly affected. Services relying on this logic are at risk of unauthorized access. Version 25.6.7 fixes the vulnerability.

References

Affected packages

Git / github.com/jokob-sk/netalertx

Affected ranges

Type
GIT
Repo
https://github.com/jokob-sk/netalertx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

23.*

23.01.14
23.01.22-HF01

v2.*

v2.50
v2.51
v2.52
v2.55
v2.56
v2.60
v2.61
v2.70

v23.*

v23.01.02
v23.01.22
v23.01.22-HF02
v23.02.02
v23.03.11
v23.04.01
v23.10.2
v23.11.11
v23.12.16
v23.5.7
v23.6.16
v23.7.22
v23.9.10
v23.9.11
v23.9.12

v24.*

v24.01.18
v24.1.19
v24.10.12
v24.10.31
v24.12.23
v24.2.16
v24.2.17
v24.3.19
v24.4.17
v24.5.9
v24.6.8
v24.7.18
v24.9.12
v24.9.26

v25.*

v25.1.19
v25.1.8
v25.2.8
v25.3.1
v25.4.1
v25.4.14
v25.5.24

v3.*

v3.00
v3.02