Description
Camaleon CMS before 2.9.3 contains a path traversal vulnerability that allows users with only the media permission to write arbitrary files by supplying ../ sequences in the name parameter. Attackers can send a base64 data: URI to the crop_url media action to write an ERB template into a theme's views directory, which executes when rendered.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| owen2345 | camaleon-cms | < 2.9.3 | 2.9.3 |
References
- https://github.com/owen2345/camaleon-cms/commit/430cce27ea63a397a7b7fa0260b4ec2128ea63fd patch
- https://github.com/owen2345/camaleon-cms/pull/1201 patch issue-tracking
- https://github.com/owen2345/camaleon-cms/pull/1211 issue-tracking patch
- https://github.com/owen2345/camaleon-cms/blob/2.9.2/app/helpers/camaleon_cms/uploader_helper.rb#L277-L287 technical-description
- camaleon-cms 2.9.3 Release Notes release-notes
- VulnCheck Advisory: Camaleon CMS before 2.9.3 Path Traversal RCE via Media crop_url Action third-party-advisory