Vulnerability · Published Sep 18, 2024 · Assigned by GitHub_M
CVE-2024-46987Arbitrary path traversal in Camaleon CMS
High 7.7
In plain English
A high-severity information exposure in camaleon-cms from owen2345. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 14.6% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 (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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | camaleon_cms | 2.8.1 | GHSA-cp65-5m9r-vc2c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| owen2345 | camaleon-cms | < 2.8.2 |
Weakness: CWE-200, CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-cp65-5m9r-vc2c x_refsource_CONFIRM
- https://codeql.github.com/codeql-query-help/ruby/rb-path-injection x_refsource_MISC
- https://owasp.org/www-community/attacks/Path_Traversal x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS x_refsource_MISC
- https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released x_refsource_MISC