#VU90699 SQL injection in Cacti - CVE-2024-31460


Vulnerability identifier: #VU90699

Vulnerability risk: Low

CVSSv4.0: 6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-31460

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Cacti
Web applications / Other software

Vendor: The Cacti Group, Inc.

Description

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data within the automation_tree_rules_form_save() function in automation_tree_rules.php. A remote user can store  a specially crafted payload in database, which is later executed in lib/api_automation.php, and execute arbitrary SQL commands within the application database.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Cacti: 1.0.0 - 19


External links
https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability