CVE-2024-46986
Camaleon CMS affected by arbitrary file write to RCE (GHSL-2024-182)
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Ruby Advisory DB. Niedriger laut GHSA (hoch).
Beschreibung
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. An arbitrary file write vulnerability accessible via the upload method of the MediaController allows authenticated users to write arbitrary files to any location on the web server Camaleon CMS is running on (depending on the permissions of the underlying filesystem). E.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| rubygems::Ruby Advisory Database | camaleon_cms | >= 2.8.1 |
| rubygems::GitHub Security Advisory RubyGems | camaleon_cms | 2.8.1 |
Referenzen
- https://codeql.github.com/codeql-query-help/ruby/rb-path-injection
- https://github.com/advisories/GHSA-wmjg-vqhv-q5p5
- https://github.com/owen2345/camaleon-cms
- https://github.com/owen2345/camaleon-cms/commit/b3b12b1e4a9e3fccaf5bb4330820fa7f8744e6bd
- https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46986.yml
- https://nvd.nist.gov/vuln/detail/CVE-2024-46986
- https://owasp.org/www-community/attacks/Path_Traversal