CVE-2024-46987
Published: 18 September 2024
Summary
CVE-2024-46987 is a high-severity Path Traversal (CWE-22) vulnerability in Tuzitio Camaleon Cms. Its CVSS base score is 7.7 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 2.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Camaleon CMS, a dynamic content management system built on Ruby on Rails, contains a path traversal vulnerability in the download_private_file method of MediaController. The flaw, tracked as CVE-2024-46987 and assigned CWE-22 and CWE-200, permits traversal sequences that bypass intended access controls and expose arbitrary files on the underlying web server, subject to operating-system permissions. The issue carries a CVSS 3.1 score of 7.7 reflecting network-accessible, low-complexity exploitation by an authenticated user that results in high-impact confidentiality loss without affecting integrity or availability.
An authenticated attacker can supply crafted path parameters to the affected controller method and retrieve any readable file on the host, potentially disclosing configuration data, source code, or other sensitive material stored outside the CMS content directory. Because the vulnerability requires only a low-privileged account and no user interaction, it can be leveraged from any network position that can reach the application.
The maintainers addressed the issue in release 2.8.2; the GitHub Security Advisory and associated CodeQL guidance recommend immediate upgrade, noting that no workarounds are available. The EPSS score has reached a peak and current value of 0.4401, indicating moderate and sustained exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2772
Vulnerability details
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. A path traversal vulnerability accessible via MediaController's download_private_file method allows authenticated users to download any file on the web server Camaleon CMS is running on…
more
(depending on the file permissions). This issue may lead to Information Disclosure. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Path traversal in download_private_file enables authenticated attackers to read arbitrary server files (e.g., /etc/passwd), facilitating OS credential dumping, system owner/user discovery, file/directory discovery via probing, unsecured credentials in files, and data collection from local system.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Automated marking applies security attributes to system outputs, making it harder for attackers to exploit unmarked sensitive information leading to unauthorized exposure.
Proper attribute retention and permitted-value enforcement limits unauthorized actors from accessing sensitive information lacking correct labels.
Prevents unauthorized exposure of sensitive information by prohibiting untrusted external systems from processing or storing it.
By enforcing authorization matching prior to sharing, the control reduces the risk of exposing sensitive information to unauthorized actors.
Review and removal of nonpublic information from publicly accessible systems directly prevents exposure of sensitive data to unauthorized actors.
Data mining protection mechanisms detect and block unauthorized bulk extraction of sensitive data, directly mitigating exposure to unauthorized actors.
Literacy training teaches users to recognize and avoid actions that result in unauthorized exposure of sensitive information.
Retaining and monitoring training records confirms personnel have completed privacy and security awareness training on handling sensitive data, reducing the chance of unauthorized exposure due to lack of knowledge.