CVE-2002-0061 in apache http server

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

Apache for Win32 before 1.3.24, and 2.0.x before 2.0.34-beta, allows remote attackers to execute arbitrary commands via shell metacharacters (a | pipe character) provided as arguments to batch (.bat) or .cmd scripts, which are sent unfiltered to the shell interpreter, typically cmd.exe.

Affected software: apache http server

Scores

What LogPulse has for it

How to mitigate it

Upgrade Apache on Windows to stop batch CGI command injection

Patch or upgrade. Apache 1.3.24 and 2.0.34 stop passing the query string of a .bat or .cmd CGI to cmd.exe. Upgrading removes the command execution of CVE-2002-0061.

Applies to: Apache HTTP Server 1.3 before 1.3.24 and 2.0 before 2.0.34 on Windows.

  1. Find Apache HTTP Server installs on Windows that run .bat or .cmd files as CGI.
  2. Upgrade to a supported Apache HTTP Server 2.4 release.
  3. Remove .bat and .cmd handlers from the CGI configuration (AddHandler cgi-script) unless they are really needed.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse