
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical vulnerability was discovered in Camaleon CMS affecting versions prior to 2.8.1, identified as GHSA-3hp8-6j24-m5gm. The vulnerability exists in the MediaController class where path traversal checks are not properly implemented, potentially allowing arbitrary file deletion on the server hosting Camaleon CMS. This security issue was published on September 23, 2024, and affects the bundler package camaleon_cms on RubyGems (GitHub Advisory).
The vulnerability stems from insufficient path validation in the MediaController class's actions method. When handling media actions, particularly the 'delfile' action, the system fails to verify if the given path is within the intended media folder boundary. The vulnerability involves the deletefile method of the CamaleonCmsLocalUploader class, where file paths are joined with the root folder without proper validation. The CVSS v3 score for this vulnerability is 7.2, indicating high severity (Ruby Advisory).
The exploitation of this vulnerability could lead to unauthorized file deletion across the server hosting Camaleon CMS. An attacker with administrator account access could potentially delete arbitrary files or folders on the server. Additionally, the crop_url action might enable arbitrary file writes, though this functionality appears to be currently non-functional (GitHub Advisory).
The vulnerability has been patched in version 2.8.1 of Camaleon CMS. The recommended remediation includes normalizing all file paths constructed from untrusted user input and implementing checks to ensure the resulting path remains within the targeted directory. Additionally, character sequences such as '..' should be blocked in untrusted input used for path construction (GitHub Advisory).
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."