Skip to content

Unauthenticated remote command execution / Authentication Bypass

Critical
jokob-sk published GHSA-h4x5-vr54-vjrx May 24, 2025

Package

No package listed

Affected versions

< 25.4.1

Patched versions

v25.4.14

Description

Summary

It is possible to bypass the authentication mechanism of NetAlertX to update settings without authentication. This vulnerability bypass the fix made for CVE-2024-46506.

Details

The vulnerability leverages an include chain originating from index.php.
Specifically, index.php includes php/server/init.php, which in turn includes the sensitive php/server/util.php script responsible for tasks like settings updates.
While util.php attempts to enforce authentication by including templates/security.php, this security check is bypassed when the request is made directly to /index.php.
The templates/security.php logic does not mandate authentication or redirection for requests targeting /index.php.

Consequently, an attacker can trigger sensitive functions within util.php by sending crafted requests to /index.php, effectively achieving the same outcome as CVE-2024-46506 (e.g., updating settings) but via a different, unauthenticated entry point (/index.php instead of util.php).

PoC

Please find the Proof of Concept script enclosed. This script demonstrates the vulnerability by first disabling password authentication and then initiating a reverse shell connection to the listener IP address 10.10.1.32 on port 1234 (see line 798 on params.json).
netalertxploit.zip

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2025-32440

Weaknesses

No CWEs

Credits