{
  "id": "CVE-2025-24367",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24367",
  "published_at": "2025-01-27T17:12:40.174Z",
  "title": "Cacti allows Arbitrary File Creation leading to RCE",
  "vendor": "Cacti",
  "product": "cacti",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-10-30T19:41:59Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 276.1,
    "repo": "TheCyberGeek/CVE-2025-24367-Cacti-PoC",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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. This vulnerability is fixed in 1.2.29.",
  "cwe": "CWE-144",
  "cpes": [
    "cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "TheCyberGeek/CVE-2025-24367-Cacti-PoC",
      "url": "https://github.com/TheCyberGeek/CVE-2025-24367-Cacti-PoC",
      "created_at": "2025-10-30T19:41:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 37,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-06-23T19:42:23Z"
    },
    {
      "repo": "r3vpwnx/CVE-2025-24367",
      "url": "https://github.com/r3vpwnx/CVE-2025-24367",
      "created_at": "2025-12-12T09:36:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-26T14:11:19Z"
    },
    {
      "repo": "SoftAndoWetto/CVE-2025-24367-PoC-Cacti",
      "url": "https://github.com/SoftAndoWetto/CVE-2025-24367-PoC-Cacti",
      "created_at": "2025-12-14T20:29:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-11-12T21:40:46Z"
    },
    {
      "repo": "matesz44/CVE-2025-24367",
      "url": "https://github.com/matesz44/CVE-2025-24367",
      "created_at": "2026-01-15T15:53:55Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-07T08:04:19Z"
    },
    {
      "repo": "ShoshinMaster/CVE-2025-24367",
      "url": "https://github.com/ShoshinMaster/CVE-2025-24367",
      "created_at": "2026-01-19T09:08:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-10-04T09:26:59Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Cacti",
        "product": "cacti",
        "ranges": [
          "\u003c= 1.2.28"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Cacti/cacti/security/advisories/GHSA-fxrq-fr7h-9rqq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cacti_graph_template_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Cacti Graph Template authenticated RCE versions prior to 1.2.29 (exploit/multi/http/cacti_graph_template_rce)",
      "published_at": "2025-12-23T03:27:37Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/graph_json.php",
      "query_markers": [
        "local_graph_id=1"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "protocol": "http",
      "repos": [
        "matesz44/CVE-2025-24367"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "matesz44/CVE-2025-24367/CVE-2025-24367.sh:24"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}.php",
      "protocol": "http",
      "repos": [
        "matesz44/CVE-2025-24367"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "matesz44/CVE-2025-24367/CVE-2025-24367.sh:26"
      ]
    },
    {
      "method": "POST",
      "path_template": "/graphs.php",
      "query_markers": [
        "header=false"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "graph_template_graph_id=1",
        "local_graph_id=1",
        "title=1",
        "height=1",
        "width=1",
        "base_value=1",
        "right_axis_label=\ncreate my.rrd DS:temp:GAUGE:600:-273:5000 RRA:AVERAGE:0.5:1:1200\ngraph",
        "save_component_graph=1",
        "action=save",
        "__csrf_magic="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "matesz44/CVE-2025-24367"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "matesz44/CVE-2025-24367/CVE-2025-24367.sh:21"
      ]
    },
    {
      "method": "POST",
      "path_template": "/index.php",
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "__csrf_magic=",
        "action=login",
        "login_username=",
        "login_password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "matesz44/CVE-2025-24367"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "matesz44/CVE-2025-24367/CVE-2025-24367.sh:15"
      ]
    }
  ],
  "rules": []
}
