Vulnerability · Published Mar 7, 2023 · Assigned by apache
CVE-2023-25690Apache HTTP Server: HTTP request splitting with mod_rewrite and mod_proxy
Critical 9.8
In plain English
A critical-severity security flaw in Apache HTTP Server from Apache Software Foundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 84.5% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | httpd | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | httpd | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:9 | httpd-core | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | httpd-devel | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | httpd-devel | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | httpd-filesystem | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | httpd-filesystem | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | httpd-manual | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | httpd-manual | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | httpd-tools | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | httpd-tools | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | mod_http2 | 1.15.7-5.module_el8.7.0+3515+9e4fe0d6.4 | ALSA-2023:1673 |
| AlmaLinux:9 | mod_http2 | 1.15.19-3.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | mod_ldap | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | mod_ldap | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:9 | mod_lua | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2023:1673 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | ALSA-2023:1673 |
| AlmaLinux:8 | mod_proxy_html | 1:2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | mod_proxy_html | 1:2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | mod_session | 2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | mod_session | 2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| AlmaLinux:8 | mod_ssl | 1:2.4.37-51.module_el8.7.0+3515+9e4fe0d6.5 | ALSA-2023:1673 |
| AlmaLinux:9 | mod_ssl | 1:2.4.53-7.el9_1.5 | ALSA-2023:1670 |
| Alpine:v3.20 | apache2 | 2.4.56-r0 | ALPINE-CVE-2023-25690 |
| Alpine:v3.21 | apache2 | 2.4.56-r0 | ALPINE-CVE-2023-25690 |
| Alpine:v3.22 | apache2 | 2.4.56-r0 | ALPINE-CVE-2023-25690 |
| Alpine:v3.23 | apache2 | 2.4.56-r0 | ALPINE-CVE-2023-25690 |
| Alpine:v3.24 | apache2 | 2.4.56-r0 | ALPINE-CVE-2023-25690 |
| Debian:12 | apache2 | 2.4.56-1 | DEBIAN-CVE-2023-25690 |
| Debian:13 | apache2 | 2.4.56-1 | DEBIAN-CVE-2023-25690 |
| Debian:14 | apache2 | 2.4.56-1 | DEBIAN-CVE-2023-25690 |
| Rocky Linux:8 | httpd | 0:2.4.37-51.module+el8.7.0+1059+126e9251 | RLSA-2023:1673 |
| Rocky Linux:9 | httpd | 0:2.4.53-7.el9_1.5 | RLSA-2023:1670 |
| Rocky Linux:8 | mod_http2 | 0:1.15.7-5.module+el8.6.0+823+f143cee1 | RLSA-2023:1673 |
| Rocky Linux:9 | mod_http2 | 0:1.15.19-3.el9_1.5 | RLSA-2023:1670 |
| Rocky Linux:8 | mod_md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e | RLSA-2023:1673 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.4 | USN-5942-1 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.4 | UBUNTU-CVE-2023-25690 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache HTTP Server | 2.4.0 – through 2.4.55 |
Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H