CVE-2024-54146
PoC largeSQL Injection in Cacti host_templates.php via graph_template Parameter
Cacti, an open-source network performance and fault monitoring framework, contains a SQL injection flaw (CWE-89) in the template function of host_templates.php. The graph_template parameter is insufficiently sanitized before being used in SQL queries, so an attacker with low-privileged (authenticated) access to the Cacti web interface can send crafted parameter values to inject arbitrary SQL. Successful exploitation yields high-impact read, write, and potential disruption against the Cacti backend database (CVSS 8.8, AV:N/AC:L/PR:L/UI:N), potentially exposing stored monitoring data and credentials for further compromise. All Cacti deployments running a version prior to 1.2.29 are affected. A public security advisory with proof-of-concept details exists, EPSS places exploitation probability at 41% within 30 days (99th percentile), but the flaw is not yet in CISA's KEV catalog and no widespread confirmed exploitation is documented.
What to do: Upgrade Cacti to version 1.2.29 or later, which remediates the flaw. Until patched, restrict network access to the Cacti web UI to trusted users and networks, and review web access logs for anomalous or malformed graph_template values submitted to host_templates.php. Note the vulnerability requires authenticated access, so audit for low-privilege or default accounts that could be used to trigger it.
| cacti | all versions prior to 1.2.29 (fixed in 1.2.29) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Cacti is an open source performance and fault management framework. Cacti has a SQL injection vulnerability in the template function of host_templates.php using the graph_template parameter. This vulnerability is fixed in 1.2.29.
- Vendors
- cacti
- Products
- cacti
- Weakness
- CWE-89
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.