Description (CNA)
CamaleonCMS version 2.9.2 and earlier contains a privilege escalation vulnerability via insecure direct object reference (IDOR) that allows authenticated low-privileged attackers to overwrite any user's credentials by exploiting a parameter confusion flaw between the authorization filter and action body in the UsersController. Attackers can send a PATCH request to the updated_ajax endpoint setting params[:id] to their own user ID to pass the self-authorization check while simultaneously setting params[:user_id] to a victim's ID, causing the controller to load and mutate the victim's account, including overwriting administrator passwords to achieve full site takeover.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| owen2345 / CamaleonCMS | affected 0 through 2.9.2 |
CWE
CWE-639
References
- https://github.com/owen2345/camaleon-cms
- https://github.com/owen2345/camaleon-cms/pull/1185
- https://github.com/owen2345/camaleon-cms/commit/26345034523a505cb01615509b7f0a665e89ae3e
- https://www.vulncheck.com/advisories/camaleoncms-privilege-escalation-via-parameter-confusion-in-userscontroller
ADP enrichment
No English description supplied.
No references supplied.