Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-2304-Camaleon-CMS-Mass-Assignment-Privilege-Escalation-PoC — Proof-of-concept exploit for a mass assignment privilege escalation vulnerability in Camaleon CMS < 2.9.1. Authenticated low-privilege users can escalate to admin by injecting role parameters. | Kitploit
Tools/GitHubGitHub/estebanzarate/cve-2025-2304-camaleon-cms-mass-assignment-privilege-escalation-poc
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingMisconfiguration
GitHubestebanzarate/cve-2025-2304-camaleon-cms-mass-assignment-privilege-escalation-poc

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-2304-Camaleon-CMS-Mass-Assignment-Privilege-Escalation-PoC

Proof-of-concept exploit for a mass assignment privilege escalation vulnerability in Camaleon CMS < 2.9.1. Authenticated low-privilege users can escalate to admin by injecting role parameters.

View Repository
226 months agoNot yet reviewed

CVE-2025-2304 — Camaleon CMS Mass Assignment Privilege Escalation (PoC)

Privilege escalation vulnerability in Camaleon CMS < 2.9.1. The updated_ajax endpoint in UsersController calls params.require(:password).permit! without filtering, allowing any parameter to be mass-assigned. An authenticated low-privilege user can escalate to admin by injecting password[role]=admin alongside a password change request.


How it works

  1. Logs in with the provided credentials to obtain a valid session.
  2. Retrieves the current user's ID and role from the profile page.
  3. Sends a PATCH request to /admin/users/<id>/updated_ajax with password[role]=admin injected into the password parameters.
  4. Verifies the role has been updated to admin.

Requirements

  • Python 3
  • Install dependencies:
root@kitploit:~
python3 -m venv venv
source venv/bin/activate
python3 -m pip install requests beautifulsoup4

Usage

root@kitploit:~
python3 exploit.py http://TARGET -u USER -p PASS

Example:

root@kitploit:~
$ python3 exploit.py http://facts.htb -u esteban -p password123
[*] Logging in as esteban...
[+] Logged in successfully
[*] User ID: 3, current role: editor
[*] Sending exploit payload...
[+] Privilege escalation successful! User is now admin.
[+] Login at http://facts.htb/admin with your credentials.

References

  • CVE-2025-2304
  • Tenable Research Advisory
  • Camaleon CMS 2.9.1 release (fix)

Credits

  • Discovery: Tenable Research
  • Cleanup & simplification: Esteban Zárate
Download Tool