cve/2024/CVE-2024-31458.md
2024-05-25 21:48:12 +02:00

18 lines
1.0 KiB
Markdown

### [CVE-2024-31458](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31458)
![](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 `form_save()` function in `graph_template_inputs.php` is not thoroughly checked and is used to concatenate the SQL statement in `draw_nontemplated_fields_graph_item()` function from `lib/html_form_templates.php` , finally resulting in SQL injection. Version 1.2.27 contains a patch for the issue.
### POC
#### Reference
- https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x
#### Github
No PoCs found on GitHub currently.