Vulnerability · Published Oct 7, 2024 · Assigned by GitHub_M

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

High 7.3

In plain English

A high-severity cross-site scripting in cacti from Cacti. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 38.6% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)38.6%top 1.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20cacti1.2.28-r0ALPINE-CVE-2024-43362
Alpine:v3.21cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43362
Alpine:v3.22cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43362
Alpine:v3.23cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43362
Alpine:v3.24cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43362
Debian:12cacti1.2.24+ds1-1+deb12u5DEBIAN-CVE-2024-43362
Debian:12cacti1.2.24+ds1-1+deb12u5DSA-5862-1
Debian:13cacti1.2.28+ds1-1DEBIAN-CVE-2024-43362
Debian:14cacti1.2.28+ds1-1DEBIAN-CVE-2024-43362
Ubuntu:24.04:LTScactino fix listedUBUNTU-CVE-2024-43362
Ubuntu:25.10cactino fix listedUBUNTU-CVE-2024-43362
Ubuntu:26.04:LTScactino fix listedUBUNTU-CVE-2024-43362
Ubuntu:26.10cactino fix listedUBUNTU-CVE-2024-43362

Affected products (as reported)

VendorProductVersions
Cacti cacti < 1.2.28

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

References