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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
owen2345 camaleon-cms
Default version status: unaffected
0 to < 2.9.3affected
pkg:gem/camaleon_cmsReferences
- https://github.com/owen2345/camaleon-cms/commit/430cce27ea63a397a7b7fa0260b4ec2128ea63fd ↗
- https://github.com/owen2345/camaleon-cms/pull/1201 ↗
- https://github.com/owen2345/camaleon-cms/pull/1211 ↗
- https://github.com/owen2345/camaleon-cms/blob/2.9.2/app/helpers/camaleon_cms/uploader_helper.rb#L277-L287 ↗
- https://github.com/owen2345/camaleon-cms/releases/tag/2.9.3 ↗
- https://www.vulncheck.com/advisories/camaleon-cms-before-2.9.3-path-traversal-rce-via-media-crop-url-action ↗