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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| owen2345 | Camaleon CMS | < 2.9.2 | 2.9.2 |
References
- https://github.com/owen2345/camaleon-cms/pull/1147 patch issue-tracking
- https://github.com/owen2345/camaleon-cms/commit/7fe4fa0bf99256dfe32b5f674baf4f771606549e patch
- https://github.com/owen2345/camaleon-cms/blob/2.9.1/app/controllers/camaleon_cms/admin/media_controller.rb technical-description
- Camaleon CMS 2.9.2 Release Notes release-notes
- VulnCheck Advisory: Camaleon CMS before 2.9.2 Missing Authorization via Admin::MediaController third-party-advisory