Authenticated code execution via unchecked upload path
Published Sep 18, 2024 · Updated Apr 17, 2025
Path traversal in Camaleon CMS before 2.8.2 allows remote authenticated users to write arbitrary server files through media uploads. MediaController passes the untrusted folder parameter through upload_file into File.join, and the local uploader opens the resulting path for writing without validating that it stays under the media root. Any registered account can reach the upload route; placing Ruby code in config/initializers enables execution after the Rails application restarts, subject to filesystem permissions.
Summary
What happened
Path traversal in Camaleon CMS before 2.8.2 allows remote authenticated users to write arbitrary server files through media uploads. MediaController passes the untrusted folder parameter through upload_file into File.join, and the local uploader opens the resulting path for writing without validating that it stays under the media root. Any registered account can reach the upload route; placing Ruby code in config/initializers enables execution after the Rails application restarts, subject to filesystem permissions.
The record
- CVE
- CVE-2024-46986
- Published
- Sep 18, 2024
- Updated
- Apr 17, 2025
- Vendor
- Camaleon CMS
- Product
- Camaleon CMS
- Classifications
- CWE-74, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 18, 2024CVE publishedPublication date reported by the CVE source.
- Apr 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.8.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub Security Lab authenticated upload proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo