CVE-2024-46987

HIGH

Camaleon CMS 2.8.0-2.8.1 - Authenticated Path Traversal via MediaController Download

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 13 public exploits for CVE-2024-46987. PoCs published by velampudisakshi, Goultarde, SuriyaBoon, including Metasploit module auxiliary/gather/camaleon_download_private_file.

AI-analyzed exploit summary This Python script exploits a path traversal vulnerability in Camaleon CMS v2.9.0 by sending a crafted HTTP GET request to the vulnerable endpoint `/admin/media/download_private_file` with a manipulated `file` parameter. It requires a valid `auth_token` cookie for authentication and checks for invalid authentication via redirect responses.

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.

Exploits (13)

exploitdb WORKING POC
by velampudisakshi · pythonwebappsmultiple
https://www.exploit-db.com/exploits/52531

This Python script exploits a path traversal vulnerability in Camaleon CMS v2.9.0 by sending a crafted HTTP GET request to the vulnerable endpoint `/admin/media/download_private_file` with a manipulated `file` parameter. It requires a valid `auth_token` cookie for authentication and checks for invalid authentication via redirect responses.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Camaleon CMS v2.9.0
Auth required
Prerequisites: valid auth_token cookie · access to the vulnerable endpoint
devstral-2 · analyzed May 12, 2026 Full analysis →
nomisec WORKING POC 16 stars
by Goultarde · poc
https://github.com/Goultarde/CVE-2024-46987

This is a functional PoC for CVE-2024-46987, an authenticated path traversal vulnerability in Camaleon CMS. It allows reading arbitrary files by manipulating the `file` parameter in the `download_private_file` endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS versions 2.8.0 to < 2.8.2 (and reportedly 2.9.0)
Auth required
Prerequisites: Valid credentials for Camaleon CMS · Access to the vulnerable endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by SuriyaBoon · poc
https://github.com/SuriyaBoon/HackTheBox-Facts

This is a detailed technical writeup for the HackTheBox 'Facts' machine, covering multiple vulnerabilities including CVE-2024-46987 (authenticated path traversal in Camaleon CMS), privilege escalation via mass assignment, and root access via sudo misconfiguration with facter. It includes step-by-step exploitation and technical analysis.

Classification
Writeup 100%
Attack Type
Info Leak | Auth Bypass | Lpe
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS 2.9.0, MinIO, facter
Auth required
Prerequisites: network access to target · valid user account on Camaleon CMS · admin privileges for MinIO credential discovery
devstral-2 · analyzed Jun 04, 2026 Full analysis →
nomisec WORKING POC
by bootstrapbool · poc
https://github.com/bootstrapbool/msf-cve-2024-46987

This repository contains a Metasploit module for exploiting CVE-2024-46987, an authenticated directory traversal vulnerability in Camaleon CMS versions <= 2.8.0 and 2.9.0. The exploit allows reading arbitrary files from the server.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS <= 2.8.0, 2.9.0
Auth required
Prerequisites: valid credentials for Camaleon CMS admin panel
devstral-2 · analyzed Mar 08, 2026 Full analysis →
nomisec WORKING POC
by BLUEBERRYP1LL · poc
https://github.com/BLUEBERRYP1LL/CVE-2024-46987

The repository contains a functional Python exploit for CVE-2024-46987, a path traversal vulnerability in Camaleon CMS. The exploit demonstrates arbitrary file read capabilities by leveraging unsanitized user input in the MediaController#download_private_file endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS >= 2.8.0, < 2.8.2 (also confirmed on 2.9.0)
Auth required
Prerequisites: Authenticated session (low-privileged user) · Target URL · Valid credentials or session cookie
devstral-2 · analyzed Feb 23, 2026 Full analysis →
nomisec WORKING POC
by ramzerk · poc
https://github.com/ramzerk/CVE-2024-46987

This Rust-based PoC exploits a directory traversal vulnerability (CVE-2024-46987) in an admin panel's file download endpoint. It authenticates via CSRF token, then crafts a request to leak arbitrary files using ../../../ path traversal.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Unknown admin panel (likely web application with /admin/media/download_private_file endpoint)
Auth required
Prerequisites: valid admin credentials · CSRF token extraction from login page
devstral-2 · analyzed Apr 20, 2026 Full analysis →
nomisec WORKING POC
by rabouzia · poc
https://github.com/rabouzia/CVE-2024-46987

This PoC exploits a directory traversal vulnerability (CVE-2024-46987) in an unspecified web application, allowing authenticated users to download arbitrary files from the server. The exploit logs in using provided credentials and then crafts a malicious request to access files outside the intended directory.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Unspecified web application (likely a CMS or admin panel)
Auth required
Prerequisites: Valid credentials for the target application · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by advaitpathak21 · poc
https://github.com/advaitpathak21/CVE-2024-46987

This is a functional Python-based exploit for CVE-2024-46987, an authenticated path traversal vulnerability in Camaleon CMS. It allows arbitrary file reads via a crafted request to the MediaController endpoint after authenticating with valid credentials.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Camaleon CMS ≤ 2.8.0
Auth required
Prerequisites: Valid user credentials · Access to the admin login page · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by sparrowhawk1113 · poc
https://github.com/sparrowhawk1113/Exploit-for-CVE-2024-46987

This exploit leverages a path traversal vulnerability in Camaleon CMS's MediaController to allow authenticated users to download arbitrary files from the server. The PoC automates login and file retrieval via crafted requests.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Camaleon CMS (version not specified)
Auth required
Prerequisites: Valid credentials for Camaleon CMS · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Rival420 · poc
https://github.com/Rival420/CVE-2024-46987

This is a functional Python exploit for CVE-2024-46987, an authenticated Local File Inclusion (LFI) vulnerability in Camaleon CMS. It leverages path traversal via the `/admin/media/download_private_file` endpoint to read arbitrary files from the server.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Camaleon CMS < 2.8.2
Auth required
Prerequisites: Valid `auth_token` cookie · Access to the `/admin/media/download_private_file` endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Ik0nw · poc
https://github.com/Ik0nw/CVE-2024-46987

This repository contains a functional exploit for CVE-2024-46987, a path traversal vulnerability in Camaleon CMS. The exploit allows arbitrary file download and includes automated SSH key extraction from discovered users.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS
Auth required
Prerequisites: Valid credentials or session cookie for Camaleon CMS · Network access to the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by L1337Xi · poc
https://github.com/L1337Xi/CVE-2024-46987

This is a functional Python-based PoC for CVE-2024-46987, a path traversal vulnerability in Camaleon CMS Version 2.9.0. The exploit bypasses path normalization to retrieve sensitive files like /etc/passwd by leveraging a post-authentication flaw in the file download module.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Camaleon CMS Version 2.9.0
Auth required
Prerequisites: Valid admin credentials · Active session cookie
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC
by Peter Stockli, Goultarde, bootstrapbool · rubypoclinux
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/camaleon_download_private_file.rb

This Metasploit module exploits CVE-2024-46987, an authenticated directory traversal vulnerability in Camaleon CMS versions <= 2.8.0 and 2.9.0. It authenticates with provided credentials, retrieves a CSRF token, and then reads arbitrary files by manipulating the 'file' parameter in the 'download_private_file' endpoint.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Camaleon CMS <= 2.8.0 and 2.9.0
Auth required
Prerequisites: Valid admin credentials · Access to the admin login page
devstral-2 · analyzed Apr 17, 2026 Full analysis →

Scores

CVSS v3 7.7
EPSS 0.4401
EPSS Percentile 97.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22 CWE-200
Status published
Products (2)
rubygems/camaleon_cms 0 - 2.8.1RubyGems
tuzitio/camaleon_cms 2.8.0 - 2.8.2
Published Sep 18, 2024
Tracked Since Feb 18, 2026