SecurityContext

CVE-2024-29894: Cacti - Stored XSS

  • Cve: CVE-2024-29894
  • Name: Cacti - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary JavaScript in the context of other users, potentially leading to session hijacking or unauthorized actions.
  • Remediation: Upgrade to version 1.2.27 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
  • Epss score: 0.00897
  • Epss percentile: 0.60324
  • Assignee: [email protected]
  • Published at: 2024-05-14T15:17:14Z
  • Age in days: 924
  • Modified at: 2026-06-17T07:23:19Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-29894
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34ghnvd2024-05-14
https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73nvd2024-05-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34ghExploit, Vendor Advisory
https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73Exploit, Vendor Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/Product

Products

ProductAffectedPlatform boundSourcesUrl
cacti:cacti< 1.2.27nonvd/v1/products/cacti/cacti
fedoraproject:fedora= 39nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
Cacti/cactifix, security_advisoryyes/v1/repositories/Cacti/cacti

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-05-14
  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports