CVE-2024-43362
Published: 07 October 2024
Summary
CVE-2024-43362 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Cacti Cacti. Its CVSS base score is 7.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 9.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Cacti, an open source performance and fault management framework, is affected by a stored cross-site scripting vulnerability tracked as CVE-2024-43362. The fileurl parameter is insufficiently sanitized when external links are saved through links.php, allowing the unsanitized value to be embedded in HTML that is later rendered by the print function in both link.php and index.php.
An authenticated user with permission to create external links can supply a crafted fileurl value in an HTTP POST request to links.php. This results in persistent XSS that executes in the browsers of other users who view the affected pages, with a CVSS 3.1 score of 7.3 reflecting network-accessible impact on confidentiality and availability.
The vulnerability is fixed in release 1.2.28. The GitHub Security Advisory GHSA-wh9c-v56x-v77c and the Debian LTS announcement both direct administrators to upgrade, noting that no workarounds are available. The associated EPSS score remains low, with a current value of 0.0545 and a peak of 0.0776.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-40250
Vulnerability details
Cacti is an open source performance and fault management framework. The `fileurl` parameter is not properly sanitized when saving external links in `links.php` . Morever, the said fileurl is placed in some html code which is passed to the `print`…
more
function in `link.php` and `index.php`, finally leading to stored XSS. Users with the privilege to create external links can manipulate the `fileurl` parameter in the http post request while creating external links to perform stored XSS attacks. The vulnerability known as XSS (Cross-Site Scripting) occurs when an application allows untrusted user input to be displayed on a web page without proper validation or escaping. This issue has been addressed in release version 1.2.28. All users are advised to upgrade. There are no known workarounds for this issue.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Stored XSS in Cacti allows low-privileged users to inject JS payloads executed in higher-privileged users' browsers, enabling public-facing app exploitation (T1190), client execution (T1203), remote service exploitation (T1210), exploitation for credential access (T1212), browser session hijacking (T1185), and web session cookie theft (T1539) as shown in PoC.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.