Detect CVE-2026-41940: WebPros cPanel & WHM / WP2 Missing Authentication for Critical Function in IBM QRadar
CVE-2026-41940 is an actively exploited missing authentication vulnerability (CWE-306) in WebPros cPanel & WHM and WP2 (WordPress Squared). Unauthenticated remote attackers can invoke critical administrative functions without valid credentials, enabling account takeover, malicious plugin installation, privilege escalation, and full server compromise. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
QRadar Detection Query
SELECT
sourceip AS attacker_ip,
destinationip AS target_ip,
URL AS request_url,
"HTTP Method" AS http_method,
"HTTP Response Code" AS response_code,
username,
starttime AS event_time,
COUNT(*) AS request_count
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Apache HTTP Server', 'Microsoft IIS', 'nginx', 'cPanel')
AND (
URL ILIKE '%/json-api/%' OR
URL ILIKE '%/execute/%' OR
URL ILIKE '%/xmlapi/%' OR
URL ILIKE '%/wp-json/%'
)
AND (
URL ILIKE '%createacct%' OR
URL ILIKE '%removeacct%' OR
URL ILIKE '%passwd%' OR
URL ILIKE '%addpkg%' OR
URL ILIKE '%installplugin%' OR
URL ILIKE '%createuser%'
)
AND "HTTP Response Code" BETWEEN 200 AND 399
AND (username IS NULL OR username = '' OR username = '-')
AND LOGSOURCESTARTTIME(starttime, 'last 24 hours') IS NOT NULL
GROUP BY sourceip, destinationip, URL, "HTTP Method", "HTTP Response Code", username, starttime
HAVING request_count >= 1
ORDER BY event_time DESC QRadar AQL query detecting unauthenticated access to cPanel & WHM and WP2 critical administrative endpoints. Identifies missing username context paired with successful HTTP responses to sensitive API paths.
Data Sources
Required Tables
False Positives & Tuning
- Token-authenticated cPanel API calls where the token identity does not propagate to the username field parsed by QRadar
- Monitoring agents polling cPanel service availability endpoints that appear anonymous in structured log fields
- Multi-tenant hosting control panel workflows where the web tier authentication occurs outside the logged request context
Other platforms for CVE-2026-41940
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2026-41940 Unauthenticated cPanel Account Creation via JSON API
Expected signal: HTTP POST request to /json-api/createacct on port 2086 with HTTP 200 response and no Authorization header in web server access logs; corresponding cPanel audit log entry for account creation
- Test 2CVE-2026-41940 Unauthenticated Password Change via WHM XMLAPI
Expected signal: HTTP GET request to /xmlapi/passwd on port 2086 with HTTP 200 response visible in cPanel access logs; no session cookie or API token in request headers; cPanel audit log records password change event
- Test 3CVE-2026-41940 Unauthenticated WP2 Plugin Installation via WordPress REST API
Expected signal: HTTP GET and POST requests to /wp-json/wp/v2/plugins with HTTP 200/201 responses in web server access logs; WordPress debug log records plugin installation event; file system activity shows new directory creation under wp-content/plugins/
Unlock Pro Content
Get the full detection package for CVE-2026-41940 including response playbook, investigation guide, and atomic red team tests.