Cacti
Cacti allows Arbitrary File Creation leading to RCE
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.2.28
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 276 days after publication; not in CISA KEV. First PoC: TheCyberGeek/CVE-2025-24367-Cacti-PoC (created 30 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| TheCyberGeek/CVE-2025-24367-Cacti-PoC | 30 Oct 2025 +276 d | 37 | PoC |
| r3vpwnx/CVE-2025-24367 | 12 Dec 2025 +319 d | 0 | PoC |
| SoftAndoWetto/CVE-2025-24367-PoC-Cacti | 14 Dec 2025 +321 d | 0 | PoC |
| matesz44/CVE-2025-24367 | 15 Jan 2026 +353 d | 1 | PoC |
| ShoshinMaster/CVE-2025-24367 | 19 Jan 2026 +357 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Cacti Graph Template authenticated RCE versions prior to 1.2.29 (exploit/multi/http/cacti_graph_template_rce) | 23 Dec 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 5 PoC reposGET /graph_json.php
- Query
local_graph_id=1- Key headers
Cookie: {var}- Seen in
- 1 repo: matesz44/CVE-2025-24367
- Evidence
- matesz44/CVE-2025-24367/CVE-2025-24367.sh:24
GET /{var}.php
- Seen in
- 1 repo: matesz44/CVE-2025-24367
- Evidence
- matesz44/CVE-2025-24367/CVE-2025-24367.sh:26
POST /graphs.php
- Query
header=false- Key headers
Cookie: {var}- Body markers
graph_template_graph_id=1local_graph_id=1title=1height=1width=1base_value=1right_axis_label= create my.rrd DS:temp:GAUGE:600:-273:5000 RRA:AVERAGE:0.5:1:1200 graphsave_component_graph=1action=save__csrf_magic=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: matesz44/CVE-2025-24367
- Evidence
- matesz44/CVE-2025-24367/CVE-2025-24367.sh:21
POST /index.php
- Key headers
Cookie: {var}- Body markers
__csrf_magic=action=loginlogin_username=login_password=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: matesz44/CVE-2025-24367
- Evidence
- matesz44/CVE-2025-24367/CVE-2025-24367.sh:15
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/graph_json\.php\?(?:.*&)?local_graph_id=1
(?i)^/[^/?#]*\.php(?:[?#].*)?$
(?i)^/graphs\.php\?(?:.*&)?header=false
(?i)^/index\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24367 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/graph_json.php"; http.uri; content:"local_graph_id=1"; http.header_names; content:"Cookie"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-24367; classtype:web-application-attack; sid:9888928; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24367 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".php"; reference:url,poc.griffinguard.io/cve/CVE-2025-24367; classtype:web-application-attack; sid:9194260; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24367 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/graphs.php"; http.uri; content:"header=false"; http.header_names; content:"Cookie"; nocase; http.request_body; content:"graph_template_graph_id=1"; http.request_body; content:"local_graph_id=1"; http.request_body; content:"title=1"; http.request_body; content:"height=1"; http.request_body; content:"width=1"; http.request_body; content:"base_value=1"; http.request_body; content:"right_axis_label= create my.rrd DS:temp:GAUGE:600:-273:5000 RRA:AVERAGE:0.5:1:1200 graph"; http.request_body; content:"save_component_graph=1"; http.request_body; content:"action=save"; http.request_body; content:"__csrf_magic="; reference:url,poc.griffinguard.io/cve/CVE-2025-24367; classtype:web-application-attack; sid:9756544; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-24367 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.header_names; content:"Cookie"; nocase; http.request_body; content:"__csrf_magic="; http.request_body; content:"action=login"; http.request_body; content:"login_username="; http.request_body; content:"login_password="; reference:url,poc.griffinguard.io/cve/CVE-2025-24367; classtype:web-application-attack; sid:9339903; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Cacti cacti exploit attempt (CVE-2025-24367)
id: gg-pocmon-cve-2025-24367-9888928
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24367. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24367
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/graph_json.php'
cs-uri-query|contains|all:
- 'local_graph_id=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24367
title: Cacti cacti exploit attempt (CVE-2025-24367)
id: gg-pocmon-cve-2025-24367-9194260
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24367. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24367
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24367
title: Cacti cacti exploit attempt (CVE-2025-24367)
id: gg-pocmon-cve-2025-24367-9756544
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24367. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24367
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/graphs.php'
cs-uri-query|contains|all:
- 'header=false'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24367
title: Cacti cacti exploit attempt (CVE-2025-24367)
id: gg-pocmon-cve-2025-24367-9339903
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-24367. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-24367
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/index.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.24367