cve/2024/CVE-2024-31460.md

21 lines
1.5 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-31460](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31460)
![](https://img.shields.io/static/v1?label=Product&message=cacti&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.2.27%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20SQL%20Command%20('SQL%20Injection')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv
2024-06-09 00:33:16 +00:00
- https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv
2024-05-25 21:48:12 +02:00
- https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r
2024-06-09 00:33:16 +00:00
- https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r
2024-05-25 21:48:12 +02:00
#### Github
No PoCs found on GitHub currently.