CVE-2011-4317 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

The mod_proxy module in the Apache HTTP Server 1.3.x through 1.3.42, 2.0.x through 2.0.64, and 2.2.x through 2.2.21, when the Revision 1179239 patch is in place, does not properly interact with use of (1) RewriteRule and (2) ProxyPassMatch pattern matches for configuration of a reverse proxy, which allows remote attackers to send requests to intranet servers via a malformed URI containing an @ (at sign) character and a : (colon) character in invalid positions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2011-3368.

Affected software: apache http server

Scores

What LogPulse has for it

How to mitigate it

Update Apache HTTP Server past 2.2.21 or fix RewriteRule and ProxyPassMatch patterns

Patch or upgrade. With RewriteRule [P] or ProxyPassMatch patterns that do not start with a slash, Apache 2.2.21 and earlier forward a URI that starts with @ or :@ to the host after the @. Version 2.2.22 rejects such URIs, including the bypasses of the first fix (CVE-2011-4317, CVE-2011-3639); anchored patterns also close the hole.

Applies to: Apache HTTP Server 1.3.x through 1.3.42, 2.0.x through 2.0.64 and 2.2.x through 2.2.21 used as a reverse proxy with RewriteRule or ProxyPassMatch.

  1. Check the httpd version with httpd -v or apache2 -v.
  2. Update to a supported Apache HTTP Server release (2.4.x); 2.2.22 was the first fixed 2.2 release.
  3. If you cannot update, make every proxying RewriteRule and ProxyPassMatch pattern start with ^/ so that /host/path is required, then reload httpd.

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