We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-31460

Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database



Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the SQL statement in `create_all_header_nodes()` function from `lib/api_automation.php` , finally resulting in SQL injection. Using SQL based secondary injection technology, attackers can modify the contents of the Cacti database, and based on the modified content, it may be possible to achieve further impact, such as arbitrary file reading, and even remote code execution through arbitrary file writing. Version 1.2.27 contains a patch for the issue.

Reserved 2024-04-03 | Published 2024-05-13 | Updated 2025-02-13 | Assigner GitHub_M


MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

< 1.2.27
affected

References

github.com/.../cacti/security/advisories/GHSA-gj3f-p326-gh8r

github.com/.../cacti/security/advisories/GHSA-cx8g-hvq8-p2rv

lists.fedoraproject.org/...RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/

cve.org (CVE-2024-31460)

nvd.nist.gov (CVE-2024-31460)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-31460

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.