CVE-2025-48952

Source
https://cve.org/CVERecord?id=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
Aliases
  • GHSA-4p4p-vq2v-9489
Published
2025-07-04T22:12:54.601Z
Modified
2026-04-10T05:28:52.456721Z
Severity
  • 9.4 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
NetAlertX has Password Bypass Vulnerability due to Loose Comparison in PHP
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48952.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-697"
    ]
}
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.31
v24.2.16
v24.2.17
v24.3.19
v24.5.9
v24.6.8
v24.7.18
v24.9.12
v24.9.26
v25.*
v25.1.19
v25.1.8
v25.3.1
v25.4.1
v25.4.14
v25.5.24
v3.*
v3.00
v3.02

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48952.json"