CVE-2002-0061: Command Injection in Apache HTTP Server for Win32 CGI Argument Handling
- Vendor
- Apache Software Foundation
CVE-2002-0061 is an OS command injection vulnerability in Apache HTTP Server for Win32 before 1.3.24 and in the 2.0.x branch before 2.0.34-beta. The flaw affects handling of arguments passed to batch and command-shell CGI programs such as .bat and .cmd scripts. Apache forwards attacker-supplied CGI arguments containing shell metacharacters, specifically the pipe character, to the Windows shell interpreter without proper neutralization or filtering. Because the input is interpreted by the shell rather than treated as inert data, a remote attacker can append and execute arbitrary commands in the context of the Apache process.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated remote command execution on the vulnerable Windows server. Commands run with the privileges of the Apache service account. On affected Windows NT, 2000, and XP deployments, this may result in execution with SYSTEM-level privileges when Apache is configured to run under that account; on Windows 9x and Me, exploitation can yield full system compromise. This can enable complete takeover of the host, unauthorized access to or modification of data, installation of additional malware or tooling, service disruption, and use of the server as a pivot for further activity.
Mitigation
If you can’t patch tonight, do this now.
As a compensating control, run Apache under a low-privilege account rather than LocalSystem on Windows NT-family systems, and tightly restrict that account's permissions to reduce post-exploitation impact. Limit or disable execution of batch and command-shell CGI scripts where not strictly required, and avoid invoking shell interpreters for web-exposed functionality. Additional hardening such as minimizing CGI exposure and restricting reachable script handlers can further reduce risk until patching is completed.
Remediation
Patch, then assume compromise.
Upgrade Apache HTTP Server to version 1.3.24 or later in the 1.3 branch, or to 2.0.34-beta or later in the 2.0.x branch, where the vulnerable CGI argument handling was corrected. Ensure all Win32 Apache instances exposed to untrusted requests are updated to a fixed release.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2002-0061 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2002-0061 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2002-0061?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2002-0061. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2002-0061?
- Upgrade Apache HTTP Server to version 1.3.24 or later in the 1.3 branch, or to 2.0.34-beta or later in the 2.0.x branch, where the vulnerable CGI argument handling was corrected. Ensure all Win32 Apache instances exposed to untrusted requests are updated to a fixed release.
- What products are affected by CVE-2002-0061?
- Apache Software Foundation Apache HTTP Server.
- How severe is CVE-2002-0061?
- CVE-2002-0061 has a CVSS v2 score of 7.5 (High) and an EPSS score of 51.5% (99th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.