{
  "id": "CVE-2025-24368",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24368",
  "published_at": "2025-01-27T17:16:17.236Z",
  "title": "Cacti has a SQL Injection vulnerability when using tree rules through Automation API",
  "vendor": "Cacti",
  "product": "cacti",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Cacti is an open source performance and fault management framework. Some of the data stored in automation_tree_rules.php is not thoroughly checked and is used to concatenate the SQL statement in build_rule_item_filter() function from lib/api_automation.php, resulting in SQL injection. This vulnerability is fixed in 1.2.29.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Cacti",
        "product": "cacti",
        "ranges": [
          "\u003c 1.2.29"
        ],
        "fixed_in": [
          "1.2.29"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cacti to 1.2.29 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Cacti/cacti/security/advisories/GHSA-f9c7-7rc3-574c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
