File tree Expand file tree Collapse file tree
.appsec-tests/vpatch-CVE-2026-41940
appsec-rules/crowdsecurity
collections/crowdsecurity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ id : CVE-2026-41940
2+ info :
3+ name : CVE-2026-41940
4+ author : crowdsec
5+ severity : info
6+ description : CVE-2026-41940 testing - cPanel WHM auth bypass via stripped ob cookie
7+ tags : appsec-testing
8+ http :
9+ - raw :
10+ - |
11+ GET / HTTP/1.1
12+ Host: {{Hostname}}
13+ Cookie: whostmgrsession=%3aQSJN_sFdKZtCi2o_
14+ Authorization: Basic cm9vdDp4DQpoYXNyb290PTENCnRmYV92ZXJpZmllZD0xDQp1c2VyPXJvb3Q=
15+ - |
16+ GET / HTTP/1.1
17+ Host: {{Hostname}}
18+ Cookie: whostmgrsession=%3aQSJN_sFdKZtCi2o_%2C
19+ Authorization: Basic cm9vdDp4DQpoYXNyb290PTENCnRmYV92ZXJpZmllZD0xDQp1c2VyPXJvb3Q=
20+ - |
21+ GET / HTTP/1.1
22+ Host: {{Hostname}}
23+ Cookie: whostmgrsession=%3aQSJN_sFdKZtCi2o_%2Ctoto
24+ Authorization: Basic cm9vdDp4DQpoYXNyb290PTENCnRmYV92ZXJpZmllZD0xDQp1c2VyPXJvb3Q=
25+ cookie-reuse : true
26+ matchers :
27+ - type : dsl
28+ condition : and
29+ dsl :
30+ - ' status_code_1 == 403'
31+ - ' status_code_2 == 403'
32+ - ' status_code_3 == 200'
Original file line number Diff line number Diff line change 1+ appsec-rules :
2+ - ./appsec-rules/crowdsecurity/base-config.yaml
3+ - ./appsec-rules/crowdsecurity/vpatch-CVE-2026-41940.yaml
4+ nuclei_template : CVE-2026-41940.yaml
Original file line number Diff line number Diff line change 1+ name : crowdsecurity/vpatch-CVE-2026-41940
2+ description : ' Detects cPanel & WHM authentication bypass (CVE-2026-41940) by identifying a whostmgrsession cookie with a stripped ob segment (no comma separator)'
3+ rules :
4+ - and :
5+ - zones :
6+ - COOKIES
7+ variables :
8+ - whostmgrsession
9+ transform :
10+ - lowercase
11+ - urldecode
12+ - trim
13+ match :
14+ type : regex
15+ value : ' ^:[a-z0-9_]+,?$'
16+
17+ labels :
18+ type : exploit
19+ service : http
20+ confidence : 3
21+ spoofable : 0
22+ behavior : ' http:exploit'
23+ label : ' cPanel WHM - Authentication Bypass'
24+ classification :
25+ - cve.CVE-2026-41940
26+ - attack.T1190
27+ - cwe.CWE-306
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ appsec-rules:
185185- crowdsecurity/vpatch-CVE-2025-24582
186186- crowdsecurity/vpatch-CVE-2025-15503
187187- crowdsecurity/vpatch-CVE-2025-13956
188+ - crowdsecurity/vpatch-CVE-2026-41940
188189author : crowdsecurity
189190contexts :
190191- crowdsecurity/appsec_base
You can’t perform that action at this time.
0 commit comments