ZeroHour

CVE-2024-43364

PoC large

Stored XSS in Cacti external links (links.php)

CVSS 3.1
8.2 high
EPSS
38%p98
Published
()
Modified
AI analysis

CVE-2024-43364 is a stored cross-site scripting (XSS) vulnerability in Cacti, an open-source performance and fault management framework, caused by insufficient sanitization of the 'title' parameter when saving external links in links.php. An attacker with the privilege to create external links can tamper with the 'title' parameter in the HTTP POST request; the injected value is stored in the database and later reflected back to users via index.php, where the script executes in their browsers. Successful exploitation allows arbitrary script execution in the context of authenticated Cacti users who view the affected pages, with scope-changing confidentiality, integrity, and availability impacts reflected in its 8.2 (High) CVSS score. All Cacti instances running versions before 1.2.28 are affected, and there are no known workarounds. There is no evidence of in-the-wild exploitation and it is not in CISA KEV, but a public advisory is available and EPSS assigns a 35.8% probability of exploitation within 30 days (98th percentile).

What to do: Upgrade to Cacti 1.2.28 or later; there are no known workarounds, so patching is the only remediation. Until patched, restrict the privilege to create external links to trusted users and review existing external link titles for injected HTML or script. Given the elevated EPSS probability, prioritize updating internet-reachable Cacti servers.

Affected
cactiVersions prior to 1.2.28 (fixed in release 1.2.28)
Estimated exposure
large≈ tens of thousands of Cacti deployments (long-established open-source NMS; public internet scans typically show thousands of exposed instances) — Cacti is a widely packaged open-source network monitoring framework commonly deployed by enterprises and service providers; internet-exposed instance counts from public scans run to the low thousands, implying a total install base, most of…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Cacti is an open source performance and fault management framework. The `title` parameter is not properly sanitized when saving external links in links.php . Morever, the said title parameter is stored in the database and reflected back to user in index.php, finally leading to stored XSS. Users with the privilege to create external links can manipulate the `title` 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 vulnerability.

Vendors
cacti
Products
cacti
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:H

In the news

No ingested article mentions this CVE yet.