CVE-2023-39511: Stored Cross-Site-Scripting on reports_admin.php device name in Cacti
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability which allows an authenticated user to poison data stored in the cacti's database. These data will be viewed by administrative cacti accounts and execute JavaScript code in the victim's browser at view-time. The script under reportsadmin.php displays reporting information about graphs, devices, data sources etc. CENSUS found that an adversary that is able to configure a malicious device name, related to a graph attached to a report, can deploy a stored XSS attack against any super user who has privileges of viewing the reportsadmin.php page, such as administrative accounts. A user that possesses the General Administration>Sites/Devices/Data permissions can configure the device names in cacti. This configuration occurs through http://<HOST>/cacti/host.php, while the rendered malicious payload is exhibited at http://<HOST>/cacti/reportsadmin.php when the a graph with the maliciously altered device name is linked to the report. This issue has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to upgrade should manually filter HTML output.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-39511?
CVE-2023-39511 refers to a Stored Cross-Site-Scripting (XSS) vulnerability in Cacti, allowing an authenticated user to manipulate data stored in the Cacti database.
What is the severity of CVE-2023-39511?
The severity of CVE-2023-39511 is medium with a CVSS score of 4.8.
How does CVE-2023-39511 affect Cacti?
CVE-2023-39511 affects Cacti versions up to and excluding 1.2.25, allowing authenticated users to inject malicious scripts into the Cacti database.
How can I fix the CVE-2023-39511 vulnerability?
To fix the CVE-2023-39511 vulnerability, it is recommended to update Cacti to version 1.2.25 or higher.
Where can I find more information about CVE-2023-39511?
You can find more information about CVE-2023-39511 at the following link: [GitHub Advisory](https://github.com/Cacti/cacti/security/advisories/GHSA-5hpr-4hhc-8q42)