CVE-2024-46987 Arbitrary path traversal in Camaleon CMS
Authenticated attackers can exploit a path traversal flaw in Camaleon CMS to download arbitrary files from the server, leading to information disclosure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46987?
CVE-2024-46987 is a high-severity path traversal vulnerability in owen2345 camaleon-cms, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Which versions are affected by CVE-2024-46987?
2 open source packages ship an affected version, including camaleon_cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
camaleon_cms RubyGems | All versions | 2.8.1 |
camaleon_cms RubyGems | All versions | 2.8.1 |
Products include Tuzitio Camaleon Cms.
How do I fix CVE-2024-46987?
Upgrade camaleon_cms to 2.8.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-46987 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46987 exists.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 10 proofs of concept on GitHub.
Other vulnerabilities in owen2345 camaleon-cms
- CVE-2024-46986 Arbitrary file write leading to RCE in Camaleon CMS
- CVE-2023-30145 Server-Side Template Injection in Camaleon CMS
- CVE-2021-25970 Camaleon CMS - Insufficient Session Expiration after Password Change
- CVE-2021-25969 Camaleon CMS - Stored Cross-Site Scripting (XSS) in Comments
- CVE-2018-18260 Camaleon CMS vulnerable to Stored Cross-site Scripting
Sources
Also known as GHSA-cp65-5m9r-vc2c.