CVE-2024-43365 Stored Cross-site Scripting (XSS) when creating external links in Cacti

Medium 5.7 Published Updated

Attackers with link creation privileges can inject malicious scripts via the consolenewsection parameter, leading to stored XSS attacks against other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-43365?

CVE-2024-43365 is a medium-severity cross-site scripting vulnerability in Cacti Cacti, published on 7 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-43365?

It affects 1 product.

Products include Cacti Cacti.

How do I fix CVE-2024-43365?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-43365 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43365 exists.

All Cacti Cacti vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-43365, GHSA-49f2-hwx9-qffr, UBUNTU-CVE-2024-43365.

Is CVE-2024-43365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free