cve.bz

CVE-2024-29894 Cross-site Scripting

4.7 mediumExploit referenceEPSS 0.9%

Medium (4.7). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
Cacti provides an operational monitoring and fault management framework. Versions of Cacti prior to 1.2.27 contain a residual cross-site scripting vulnerability caused by an incomplete fix for CVE-2023-50250. `raise_message_javascript` from `lib/functions.php` now uses purify.js to fix CVE-2023-50250 (among others). However, it still generates the code out of unescaped PHP variables `$title` and `$header`. If those variables contain single quotes, they can be used to inject JavaScript code. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. Version 1.2.27 fixes this issue.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-29894 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29894?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29894?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-29894 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cacti:cactibefore 1.2.27
fedoraproject:fedora39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cacti1.2.24+ds1-1+deb12u3DEBIAN-CVE-2024-29894
Debian13, 14cacti1.2.27+ds1-1DEBIAN-CVE-2024-29894
Ubuntu20.04:LTScacti1.2.10+ds1-1ubuntu1.1USN-6969-1
Ubuntu22.04:LTScacti1.2.19+ds1-2ubuntu1.1USN-6969-1
Ubuntu24.04:LTScacti1.2.26+ds1-1ubuntu0.1UBUNTU-CVE-2024-29894 USN-6969-1
UbuntuPro:14.04:LTScacti0.8.8b+dfsg-5ubuntu0.2+esm2USN-6969-1
UbuntuPro:16.04:LTScacti0.8.8f+ds1-4ubuntu4.16.04.2+esm2USN-6969-1
UbuntuPro:18.04:LTScacti1.1.38+ds1-1ubuntu0.1~esm3USN-6969-1
SUSEPackage Hub 12, Package Hub 15 SP5cacti, cacti-spine1.2.27-bp155.2.9.1openSUSE-SU-2024:0274-1
SUSEPackage Hub 15 SP6cacti, cacti-spine1.2.27-bp156.2.3.1openSUSE-SU-2024:0276-1
openSUSELeap 15.5cacti, cacti-spine1.2.27-bp155.2.9.1openSUSE-SU-2024:0274-1
openSUSELeap 15.6cacti, cacti-spine1.2.27-bp156.2.3.1openSUSE-SU-2024:0276-1
openSUSETumbleweedcacti1.2.27-1.1openSUSE-SU-2024:13962-1
Alpinev3.19, v3.20, v3.21 and 3 morecacti1.2.27-r0ALPINE-CVE-2024-29894

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON