PHP file inclusion in Cacti - CVE-2024-31459

 

PHP file inclusion in Cacti - CVE-2024-31459

Published: June 3, 2024


Vulnerability identifier: #VU90700
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-31459
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Cacti Group, Inc.
Affected software:
Cacti

Detailed vulnerability description

The vulnerability allows a remote user to include and execute arbitrary PHP files on the server.

The vulnerability exists due to incorrect input validation when including PHP files within the api_plugin_hook() function in the lib/plugin.php. A remote user can combine a SQL injection vulnerability #VU90699 (CVE-2024-31460) to include and execute arbitrary PHP code on the server.


How to mitigate CVE-2024-31459

Install update from vendor's website.

Sources