The Internet Is Falling Down, Falling Down, Falling Down cPa... - #2874
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-authentication-bypass-cve-2026-41940 Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting → 80,443 - Pentesting Web → Login Bypass, with cross-references to CRLF Injection and Cache Poisoning and Cache Deception". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Scope, severity, and impact. CVE-2026-41940 is a critical, remotely reachable pre-authentication authentication bypass in cPanel & WHM session loading and saving. WHM is the root-level administrative interface for shared-hosting servers, while cPanel is the user-facing panel for individual hosting accounts. The article describes cPanel as managing more than 70 million domains and cites KnownHost confirmation that exploitation was occurring in the wild against the hosting ...
🔧 Technical Details
Optional-secret bypass combined with CRLF session injection. Applications that serialize session hashes as line-oriented
key=value\r\nrecords must sanitize every attacker-controlled value before writing it. A dangerous design occurs when the writer relies on callers to invoke the sanitizer and when an optional cookie suffix controls whether a value is encoded. In this case, the Basic Authentication password was decoded from the Authorization header and only NUL bytes were removed, so CRLF survived. The attacker first creates a legitimate pre-authentication session, then sends the same session identifier without the optional comma-separated secret. Because path resolution uses only the base session name while encoding requires the suffix, the server opens the real session file but writes the password in plaintext. A password such asx\r\nhasroot=1\r\ntfa_verified=1therefore creates arbitrary top-level session fields...🤖 Agent Actions
Updated
src/pentesting-web/crlf-0d-0a.mdwith:Validation passed with
git diff --check; internal links exist and forbidden sources were not used.mdbookwas unavailable locally, so a full build was skipped.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.