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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | cacti | 1.2.28-r0 | ALPINE-CVE-2024-43362 |
| Alpine:v3.21 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43362 |
| Alpine:v3.22 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43362 |
| Alpine:v3.23 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43362 |
| Alpine:v3.24 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43362 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DEBIAN-CVE-2024-43362 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DSA-5862-1 |
| Debian:13 | cacti | 1.2.28+ds1-1 | DEBIAN-CVE-2024-43362 |
| Debian:14 | cacti | 1.2.28+ds1-1 | DEBIAN-CVE-2024-43362 |
| Ubuntu:24.04:LTS | cacti | no fix listed | UBUNTU-CVE-2024-43362 |
| Ubuntu:25.10 | cacti | no fix listed | UBUNTU-CVE-2024-43362 |
| Ubuntu:26.04:LTS | cacti | no fix listed | UBUNTU-CVE-2024-43362 |
| Ubuntu:26.10 | cacti | no fix listed | UBUNTU-CVE-2024-43362 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H