PoC Monitor
← All CVEs
CVE-2025-24367published 27 Jan 2025 17:12 UTCData: JSON · API

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.

First public PoC 276 daysafter publication · 30 Oct 2025
Public PoCs65 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by NVD · CWE-144
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Cacti cacti
  • <= 1.2.28

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
t=0+60+120+180+240CVE published27 Jan 2025 · t = 0First public PoC30 Oct 2025 · t+276d

First 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
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 5 PoC repos

GET /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

POST /graphs.php

Query
header=false
Key headers
Cookie: {var}
Body markers
graph_template_graph_id=1 local_graph_id=1 title=1 height=1 width=1 base_value=1 right_axis_label= create my.rrd DS:temp:GAUGE:600:-273:5000 RRA:AVERAGE:0.5:1:1200 graph save_component_graph=1 action=save __csrf_magic= in application/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=login login_username= login_password= in application/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.

GET /graph_json.php
(?i)^/graph_json\.php\?(?:.*&)?local_graph_id=1
GET /{var}.php
(?i)^/[^/?#]*\.php(?:[?#].*)?$
POST /graphs.php
(?i)^/graphs\.php\?(?:.*&)?header=false
POST /index.php
(?i)^/index\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /graph_json.php
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;)
GET /{var}.php
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;)
POST /graphs.php
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;)
POST /index.php
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.

GET /graph_json.php
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
GET /{var}.php
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
POST /graphs.php
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
POST /index.php
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