Description
Camaleon CMS before 2.9.2 contains a missing authorization vulnerability in Admin::MediaController that allows low-privileged authenticated users to bypass the role-based Media permission. Attackers can POST to /admin/media/upload to store files, read private media via download_private_file, and use crop with saved_avatar to change other users' avatars.
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.2affected
pkg:gem/camaleon_cmsReferences
- https://github.com/owen2345/camaleon-cms/pull/1147 ↗
- https://github.com/owen2345/camaleon-cms/commit/7fe4fa0bf99256dfe32b5f674baf4f771606549e ↗
- https://github.com/owen2345/camaleon-cms/blob/2.9.1/app/controllers/camaleon_cms/admin/media_controller.rb ↗
- https://github.com/owen2345/camaleon-cms/releases/tag/2.9.2 ↗
- https://www.vulncheck.com/advisories/camaleon-cms-before-2.9.2-missing-authorization-via-admin-mediacontroller ↗