ZeroHour

CVE-2024-43365

PoC large

Stored XSS in Cacti External Links Feature

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

Cacti versions prior to 1.2.28 fail to properly sanitize the 'consolenewsection' parameter when saving external links in links.php, allowing script injection that is stored in the database and later rendered to users via index.php, resulting in stored cross-site scripting (CWE-79). An attacker needs an account with the privilege to create external links and submits a crafted HTTP POST with malicious content in that parameter; when other users view the Cacti console, the injected script executes in their browser sessions. Successful exploitation could allow the attacker to hijack sessions, steal information, or take actions in the context of other Cacti users, with the CVSS vector reflecting changed scope and a high availability impact. Any Cacti deployment that permits non-administrator users to create external links is affected, and the maintainers report no workarounds. No in-the-wild exploitation is confirmed (not in CISA KEV), but a public proof-of-concept reference exists via the GitHub security advisory, and EPSS assigns a 23.5% probability of exploitation within 30 days (98th percentile), indicating elevated risk.

What to do: Upgrade all Cacti installations to version 1.2.28 or later, as no workarounds are available. Until patching is complete, restrict the privilege to create external links to trusted administrators and review existing external link entries for unexpected script content. Check web logs for HTTP POST requests to links.php containing unusual or script-bearing consolenewsection values that could indicate exploitation.

Affected
Cactiall versions prior to 1.2.28 (fixed in 1.2.28)
Estimated exposure
largetens of thousands of internet-exposed Cacti instances (order of 10k-100k systems); total deployments including internal-only instances likely higher — Public internet-wide scan data has historically shown Cacti exposed in the tens of thousands of hosts, and since Cacti is a widely deployed open-source network monitoring framework, additional internal-only deployments that scans cannot…

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`consolenewsection` parameter is not properly sanitized when saving external links in links.php . Morever, the said consolenewsection 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 “consolenewsection” 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.