CVE-2023-39515
Cacti vulnerability analysis and mitigation

Overview

Cacti is an open source operational monitoring and fault management framework affected by a Stored Cross-Site-Scripting (XSS) vulnerability (CVE-2023-39515) discovered in September 2023. The vulnerability affects versions prior to 1.2.25 and allows an authenticated user to poison data stored in the cacti's database that will be executed when viewed by administrative accounts (GitHub Advisory).

Technical details

The vulnerability exists in the data_debug.php script which displays data source related debugging information such as data source paths, polling settings, and meta-data. The issue occurs because the $real_path variable is rendered without proper escaping, allowing for stored XSS attacks. The vulnerability has a CVSS v3.1 base score of 4.8 (MEDIUM) according to NVD, with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

When exploited, the vulnerability allows an attacker to execute arbitrary JavaScript code in the victim's browser when administrative users view the poisoned data. This could lead to account takeover, performing arbitrary actions as the victim user, redirecting users to malicious websites, data theft, or joining browser botnets for DDoS attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Cacti version 1.2.25. Users are strongly advised to upgrade to this version or later. For users unable to update immediately, it is recommended to manually filter HTML output. Multiple Linux distributions have also released security updates including Debian and Fedora (Debian Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Cacti vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26520CRITICAL9.8
  • CactiCacti
  • cacti
NoYesFeb 12, 2025
CVE-2005-10004HIGH8.7
  • CactiCacti
  • cacti
NoYesAug 30, 2025
CVE-2025-24367HIGH8.7
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-66399HIGH7.4
  • CactiCacti
  • cacti
NoYesDec 02, 2025
CVE-2025-24368MEDIUM6.9
  • CactiCacti
  • cacti
NoYesJan 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management