{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2024-31458","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-04-03T17:55:32.647Z","datePublished":"2024-05-13T15:07:08.051Z","dateUpdated":"2025-11-04T16:11:59.883Z"},"containers":{"cna":{"title":"Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data stored in database","problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/"}],"affected":[{"vendor":"Cacti","product":"cacti","versions":[{"version":"< 1.2.27","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-06-10T16:09:30.739Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-jrxg-8wh8-943x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-31458","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-13T17:19:29.133180Z"}}}],"affected":[{"cpes":["cpe:2.3:a:cacti:cacti:-:*:*:*:*:*:*:*"],"vendor":"cacti","product":"cacti","versions":[{"status":"affected","version":"-","lessThan":"1.2.27","versionType":"custom"}],"defaultStatus":"unknown"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:37:26.944Z"}},{"title":"CVE Program Container","references":[{"name":"https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-04T16:11:59.883Z"}}]},"dataVersion":"5.2"}