Vulnerability · Published Oct 7, 2024 · Assigned by GitHub_M

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

Medium 5.7

In plain English

A medium-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 25.1% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)25.1%top 2.1% 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`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.

Affected packages & fixed versions

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

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:N/I:N/A:H

References