
Cloud Vulnerability DB
A community-led vulnerabilities database
A path traversal vulnerability (CVE-2024-46987) was discovered in Camaleon CMS, a dynamic content management system based on Ruby on Rails. The vulnerability exists in the MediaController's downloadprivatefile method, which allows authenticated users to download arbitrary files from the web server depending on file permissions. The issue was disclosed on September 18, 2024, and affects versions from 2.8.0 up to (excluding) 2.8.2 (GitHub Advisory, NVD).
The vulnerability exists in the downloadprivatefile method of MediaController, where user-supplied input for the file parameter is not properly validated. When files are uploaded locally, the fetch_file method of CamaleonCmsLocalUploader class processes the file parameter without adequate path normalization. The vulnerability has been assigned a CVSS v3.1 base score of 7.7 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N. The issue is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) (GitHub Advisory, NVD).
The vulnerability can lead to information disclosure, allowing authenticated users to access and download any file on the web server that the application has permission to read. This could potentially expose sensitive configuration files, system files, or other confidential information stored on the server (GitHub Advisory).
The vulnerability has been patched in version 2.8.2 of Camaleon CMS. Users are strongly advised to upgrade to this version. For those unable to upgrade immediately, it is recommended to normalize file paths constructed from untrusted user input before using them and check that the resulting path is inside the targeted directory. Additionally, character sequences such as '..' should not be allowed in untrusted input used to build paths (GitHub Advisory).
The security community has emphasized the severity of this vulnerability, particularly given its high CVSS score and the potential for information disclosure. Security researchers have highlighted this as part of a series of critical security flaws affecting Camaleon CMS, urging users to upgrade immediately (Security Online).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."