On this page
Atomicorp WAF Rule 340367
Rule Summary
- Rule ID: 340367
- Status: Active
- Alert message: Atomicorp.com WAF Rules: Cockpit Basic username shell injection attempt
- Observed CWEs: None documented
- Revision: 1
- Rule severity: Critical (2)
- Phase: 2 (request body)
- Request surfaces: Request URI
- Rule action: deny
- HTTP status: 403
- Public tags: CVE-2026-4631, attack-rce
- Logging: log, auditlog
Description
This rule detects behavior identified by its current alert as “Cockpit Basic username shell injection attempt” in the request URI. It evaluates during the request body phase and denies matching traffic with HTTP status 403.
CVEs Referenced by This Rule
The current ModSecurity rule metadata explicitly names the following CVEs. These references explain the rule author’s association; they do not claim that the rule is limited to these vulnerabilities or that this is an exhaustive coverage list.
CVE-2026-4631
Cockpit’s remote login feature passes user-supplied hostnames and usernames from the web interface to the SSH client without validation or sanitization. An attacker with network access to the Cockpit web service can craft a single HTTP request to the login endpoint that injects malicious SSH options or shell commands, achieving code execution on the Cockpit host without valid credentials. The injection occurs during the authentication flow before any credential verification takes place, meaning no login is required to exploit the vulnerability.
- Association: The rule references CVE-2026-4631 in its tag.
- CVE Record (opens in a new tab)
- NVD (opens in a new tab)
Selected Related CVEs
This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.
No selected related public CVE research notes are currently published.