CVE-2023-39510: Stored Cross-site Scripting in reports_admin.php through Device-Name in 'select' input in Cacti

Published Sep 5, 2023
·
Updated

Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability 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. Thereportsadmin.php script displays reporting information about graphs, devices, data sources etc. CENSUS found that an adversary that is able to configure a malicious Device name, can deploy a stored XSS attack against any user of the same (or broader) privileges. 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 vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update should manually filter HTML output.

Affected Software

21 affected componentsFixes available
Cacti Cacti<1.2.25
Fedoraproject Fedora=37
Fedoraproject Fedora=38
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
ubuntu/cacti*
alpine/cacti<1.2.26-r0
1.2.26-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
debian/cacti<1.2.24+ds1-1+deb12u1
1.2.24+ds1-1+deb12u1
debian/cacti<1.2.25+ds1-1
1.2.25+ds1-1
debian/cacti<1.2.25+ds1-1
1.2.25+ds1-1
debian/cacti
1.2.24+ds1-1+deb12u11.2.25+ds1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.26-r0
  2. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.25-r0
  3. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.24+ds1-1+deb12u1
  4. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.25+ds1-1
  5. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.24+ds1-1+deb12u1Fixed in 1.2.25+ds1-1
  6. Upgrade

    Upgrade Cacti to a version that resolves this vulnerability.

    Fixed in 1.2.25
  7. Compensating control

    If unable to update, manually filter HTML output.

Event History

Sep 5, 2023
CVE Published
via MITRE·08:39 PM
Data Sourced
08:39 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Sep 8, 2023
Data Sourced
05:41 PM
Affected Software
Updated
05:41 PM
Severity
Sep 26, 2024
Data Sourced
via MITRE·07:40 PM
DescriptionSeverityWeakness
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Frequently Asked Questions

1

What is CVE-2023-39510?

CVE-2023-39510 is a Stored Cross-Site-Scripting (XSS) vulnerability in the Cacti open source operational monitoring and fault management framework.

2

How does CVE-2023-39510 affect Cacti?

CVE-2023-39510 allows an authenticated user to inject malicious scripts into the Cacti database, which can be viewed by administrative Cacti accounts.

3

What is the severity of CVE-2023-39510?

CVE-2023-39510 has a severity rating of 4.8 out of 10 (medium).

4

Which versions of Cacti are affected by CVE-2023-39510?

Versions up to and excluding 1.2.25 of Cacti are affected by CVE-2023-39510.

5

How can I fix CVE-2023-39510 in Cacti?

To fix CVE-2023-39510, it is recommended to upgrade Cacti to version 1.2.25 or a later version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203