CVE-2023-25690 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

Some mod_proxy configurations on Apache HTTP Server versions 2.4.0 through 2.4.55 allow a HTTP Request Smuggling attack. Configurations are affected when mod_proxy is enabled along with some form of RewriteRule or ProxyPassMatch in which a non-specific pattern matches some portion of the user-supplied request-target (URL) data and is then re-inserted into the proxied request-target using variable substitution. For example, something like: RewriteEngine on RewriteRule "^/here/(.*)" "http://example.com:8080/elsewhere?$1"; [P] ProxyPassReverse /here/ http://example.com:8080/ Request splitting/smuggling could result in bypass of access controls in the proxy server, proxying unintended URLs to existing origin servers, and cache poisoning. Users are recommended to update to at least version 2.4.56 of Apache HTTP Server.

Affected software: apache http server

Scores

What LogPulse has for it

How to mitigate it

Upgrade Apache HTTP Server to 2.4.56 or later

Patch or upgrade. Apache HTTP Server 2.4.56 rejects CR LF in rewritten proxy targets, which stops request smuggling through mod_proxy with RewriteRule or ProxyPassMatch (CVE-2023-25690).

Applies to: Apache HTTP Server 2.4.0 to 2.4.55 with mod_proxy and RewriteRule or ProxyPassMatch.

  1. Check the version with httpd -v or apache2 -v.
  2. Install the current Apache HTTP Server 2.4 package from your distribution or apache.org.
  3. Restart Apache and check the proxied sites.
  4. Where you cannot upgrade yet, narrow RewriteRule [P] and ProxyPassMatch patterns so they do not copy raw user input into the backend URL.

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