{"id":"CVE-2024-31458","published":"2024-05-13T15:07:08Z","modified":"2025-11-04T16:11:59Z","title":"Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data stored in database","vendor":"Cacti","product":"cacti","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01039,"percentile":0.63194,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":12.64},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"cacti","affectedVersions":[{"vendor":"Cacti","product":"cacti","versions":["< 1.2.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-13T17:19:29.133180Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-29340","exploited":false,"provenance":"source"}}