CVE-2024-48766
NoneCVSS
—
EPSS
67.9%
Published
May 13, 2025
CISA due date
—
Cloudanix analysis
Attackers can remotely trick vulnerable NetAlertX systems into revealing files they should not be able to see.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
CVE-2024-48766 is an unauthenticated path traversal / arbitrary file read vulnerability in NetAlertX versions before 24.10.12, related to components/logs.php. The vulnerable log-reading functionality can be abused when an HTTP client ignores a redirect and supplies traversal sequences that bypass insufficient path validation logic, including flawed strpos-based checks. A remote attacker can read files accessible to the web application process, which may include application configuration, logs, credentials, tokens, host files, and other sensitive local files. Public exploitation has been observed in the wild, and the vulnerability is considered weaponized.
Why it matters to the business
Successful exploitation can expose sensitive operational data, credentials, network inventory information, monitoring data, and application configuration from systems running vulnerable NetAlertX versions. Because NetAlertX is commonly used for network visibility and alerting, compromise of its files may help attackers map internal assets, identify targets, steal secrets, and support follow-on intrusion activity. The EPSS score of 0.66761 and weaponized exploit maturity indicate a meaningful likelihood of opportunistic exploitation, even though the issue is not currently listed in CISA KEV and is not known to be ransomware-specific.
How an attack unfolds
An attacker identifies an internet-accessible or internally reachable NetAlertX instance and sends crafted HTTP requests to the vulnerable components/logs.php endpoint. By manipulating file path input with directory traversal sequences and using a client behavior that ignores a redirect, the attacker bypasses intended restrictions on which log files can be viewed. If the application accepts the crafted path, it returns the contents of files outside the expected log directory. The attacker can then harvest files such as configuration files, logs, operating system account files, application secrets, and other readable data. Information obtained from those files may be used to escalate access, pivot to other systems, or improve targeting of the environment.
How to fix it
Upgrade NetAlertX to version 24.10.12 or later. For source deployments of jokob-sk/netalertx, update to a version containing commit d36486ef6de3985dac19195cf333e4de31601bcb or a later trusted release. If using Mageia 7 guile1.8 packages from the affected product metadata, apply the fixed package version 1.8.8-25.1.mga7. Until upgrades are complete, restrict access to NetAlertX management interfaces, block unauthenticated access to components/logs.php, place the service behind VPN or strong access controls, and use a reverse proxy or WAF rule to deny traversal sequences in requests to NetAlertX endpoints. Do not rely on redirect behavior as a security boundary.
How to confirm the fix worked
Confirm the installed NetAlertX version is 24.10.12 or later, or verify that the deployed source includes commit d36486ef6de3985dac19195cf333e4de31601bcb or a later fix. Review package manager output for guile1.8 where applicable and confirm Mageia 7 systems have 1.8.8-25.1.mga7 or later. From a controlled test system, verify that unauthenticated requests to components/logs.php cannot retrieve log files or arbitrary paths and that traversal payloads are rejected with a 403, 404, or equivalent denial response. Check that the endpoint is not exposed to untrusted networks and that reverse proxy or WAF controls block encoded and double-encoded traversal payloads.
Typical attack path
- Scan for reachable NetAlertX instances or identify NetAlertX from web fingerprints, titles, paths, or exposed management interfaces.
- Probe the components/logs.php endpoint to determine whether it is reachable without authentication or before access control is enforced.
- Send crafted requests containing directory traversal sequences such as ../ or encoded variants while allowing the HTTP client to ignore redirects.
- Attempt to read known local files or application configuration files to confirm arbitrary file read capability.
- Extract sensitive data from returned files, including credentials, tokens, service configuration, log contents, and network inventory details.
- Use the exposed information for credential attacks, lateral movement, reconnaissance, or additional exploitation of related systems.
How to detect it
Review HTTP access logs, reverse proxy logs, WAF logs, EDR web telemetry, and NetAlertX application logs for requests to components/logs.php that include directory traversal sequences, encoded traversal payloads, suspicious file names, or repeated attempts to read operating system and configuration files. Focus on unauthenticated requests, requests followed by 200 responses with unusually large response sizes, requests where the client did not follow expected redirect behavior, and activity from unfamiliar external IP addresses. Look for access to sensitive file targets such as /etc/passwd, /etc/shadow, application config files, environment files, SSH keys, database configuration, and log files outside the intended NetAlertX log directory. If suspicious reads are found, perform host-level forensic review for credential exposure, unexpected logins, new accounts, unusual outbound connections, and use of secrets that may have been stored on the host.
- components/logs.php
- GET /components/logs.php
- POST /components/logs.php
- components/logs.php.*../
- components/logs.php.*..%2f
- components/logs.php.*%2e%2e%2f
- components/logs.php.*%252e%252e%252f
- components/logs.php.*..%5c
- components/logs.php.*%2e%2e%5c
- components/logs.php.*/etc/passwd
- components/logs.php.*/etc/shadow
- components/logs.php.*../../
- components/logs.php.*..\\
- components/logs.php.*config.php
- components/logs.php.*.env
- components/logs.php.*id_rsa
What your security team should do
- Prioritize patching because exploitation has been observed in the wild and exploit maturity is weaponized.
- Inventory all NetAlertX deployments, including source-based, containerized, appliance-like, and package-managed installations.
- Upgrade NetAlertX to 24.10.12 or later, or deploy the fixed source commit d36486ef6de3985dac19195cf333e4de31601bcb or later.
- Temporarily restrict access to NetAlertX interfaces to trusted administrative networks until patching is complete.
- Add WAF, reverse proxy, or web server rules blocking traversal payloads targeting components/logs.php.
- Review web access logs for historical exploitation attempts, especially requests to components/logs.php containing traversal sequences or encoded traversal patterns.
- If exploitation is suspected, rotate secrets stored on or accessible from the NetAlertX host and review downstream systems for misuse.
- Monitor for follow-on activity using data likely exposed by NetAlertX, such as network asset lists, device identifiers, credentials, and alerting configuration.
The record
NetAlertX 24.7.18 before 24.10.12 allows unauthenticated file reading because an HTTP client can ignore a redirect, and because of factors related to strpos and directory traversal, as exploited in the wild in May 2025. This is related to components/logs.php.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|