CVE-2011-4317
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Apache 7.0.x mod_proxy - Reverse Proxy Security Bypass
source: https://www.securityfocus.com/bid/50802/info
Apache HTTP Server is prone to a security-bypass vulnerability.
Successful exploits will allow attackers to bypass certain security restrictions and obtain sensitive information about running web applications.
The following example patterns are available:
RewriteRule ^(.*) http://www.example.com$1
ProxyPassMatch ^(.*) http://www.example.com$1
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.2.21-3 |
| sid | Fixed | 2.2.21-3 |
| forky | Fixed | 2.2.21-3 |
| bullseye | Fixed | 2.2.21-3 |
| bookworm | Fixed | 2.2.21-3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apache | http_server | 1.3 | |
| apache | http_server | 1.3.0 | |
| apache | http_server | 1.3.1 | |
| apache | http_server | 1.3.1.1 | |
| apache | http_server | 1.3.2 | |
| apache | http_server | 1.3.3 | |
| apache | http_server | 1.3.4 | |
| apache | http_server | 1.3.5 | |
| apache | http_server | 1.3.6 | |
| apache | http_server | 1.3.7 | |
| apache | http_server | 1.3.8 | |
| apache | http_server | 1.3.9 | |
| apache | http_server | 1.3.10 | |
| apache | http_server | 1.3.11 | |
| apache | http_server | 1.3.12 | |
| apache | http_server | 1.3.13 | |
| apache | http_server | 1.3.14 | |
| apache | http_server | 1.3.15 | |
| apache | http_server | 1.3.16 | |
| apache | http_server | 1.3.17 | |
| apache | http_server | 1.3.18 | |
| apache | http_server | 1.3.19 | |
| apache | http_server | 1.3.20 | |
| apache | http_server | 1.3.22 | |
| apache | http_server | 1.3.23 | |
| apache | http_server | 1.3.24 | |
| apache | http_server | 1.3.25 | |
| apache | http_server | 1.3.26 | |
| apache | http_server | 1.3.27 | |
| apache | http_server | 1.3.28 | |
| apache | http_server | 1.3.29 | |
| apache | http_server | 1.3.30 | |
| apache | http_server | 1.3.31 | |
| apache | http_server | 1.3.32 | |
| apache | http_server | 1.3.33 | |
| apache | http_server | 1.3.34 | |
| apache | http_server | 1.3.35 | |
| apache | http_server | 1.3.36 | |
| apache | http_server | 1.3.37 | |
| apache | http_server | 1.3.38 | |
| apache | http_server | 1.3.39 | |
| apache | http_server | 1.3.41 | |
| apache | http_server | 1.3.42 | |
| apache | http_server | 1.3.65 | |
| apache | http_server | 1.3.68 | |
| apache | http_server | 2.0 | |
| apache | http_server | 2.0.9 | |
| apache | http_server | 2.0.28 | |
| apache | http_server | 2.0.32 | |
| apache | http_server | 2.0.34 | |
| apache | http_server | 2.0.35 | |
| apache | http_server | 2.0.36 | |
| apache | http_server | 2.0.37 | |
| apache | http_server | 2.0.38 | |
| apache | http_server | 2.0.39 | |
| apache | http_server | 2.0.40 | |
| apache | http_server | 2.0.41 | |
| apache | http_server | 2.0.42 | |
| apache | http_server | 2.0.43 | |
| apache | http_server | 2.0.44 | |
| apache | http_server | 2.0.45 | |
| apache | http_server | 2.0.46 | |
| apache | http_server | 2.0.47 | |
| apache | http_server | 2.0.48 | |
| apache | http_server | 2.0.49 | |
| apache | http_server | 2.0.50 | |
| apache | http_server | 2.0.51 | |
| apache | http_server | 2.0.52 | |
| apache | http_server | 2.0.53 | |
| apache | http_server | 2.0.54 | |
| apache | http_server | 2.0.55 | |
| apache | http_server | 2.0.56 | |
| apache | http_server | 2.0.57 | |
| apache | http_server | 2.0.58 | |
| apache | http_server | 2.0.59 | |
| apache | http_server | 2.0.60 | |
| apache | http_server | 2.0.61 | |
| apache | http_server | 2.0.63 | |
| apache | http_server | 2.0.64 | |
| apache | http_server | 2.2.0 | |
| apache | http_server | 2.2.1 | |
| apache | http_server | 2.2.2 | |
| apache | http_server | 2.2.3 | |
| apache | http_server | 2.2.4 | |
| apache | http_server | 2.2.6 | |
| apache | http_server | 2.2.8 | |
| apache | http_server | 2.2.9 | |
| apache | http_server | 2.2.10 | |
| apache | http_server | 2.2.11 | |
| apache | http_server | 2.2.12 | |
| apache | http_server | 2.2.13 | |
| apache | http_server | 2.2.14 | |
| apache | http_server | 2.2.15 | |
| apache | http_server | 2.2.16 | |
| apache | http_server | 2.2.18 | |
| apache | http_server | 2.2.19 | |
| apache | http_server | 2.2.20 | |
| apache | http_server | 2.2.21 | |
References
- https://security-tracker.debian.org/tracker/CVE-2011-4317
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://kb.juniper.net/JSA10585
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00009.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00012.html
- http://marc.info/?l=bugtraq&m=133294460209056&w=2
- http://marc.info/?l=bugtraq&m=134987041210674&w=2
- http://rhn.redhat.com/errata/RHSA-2012-0128.html
- http://secunia.com/advisories/48551
- http://support.apple.com/kb/HT5501
- http://thread.gmane.org/gmane.comp.apache.devel/46440
- http://www.debian.org/security/2012/dsa-2405
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:003
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.oracle.com/technetwork/topics/security/cpujul2012-392727.html
- http://www.securitytracker.com/id?1026353
- https://bugzilla.redhat.com/show_bug.cgi?id=756483
- https://community.qualys.com/blogs/securitylabs/2011/11/23/apache-reverse-proxy-bypass-issue
- https://lists.apache.org/thread.html/8d63cb8e9100f28a99429b4328e4e7cebce861d5772ac9863ba2ae6f%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/f7f95ac1cd9895db2714fa3ebaa0b94d0c6df360f742a40951384a53%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r05b5357d1f6bd106f41541ee7d87aafe3f5ea4dc3e9bde5ce09baff8%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r1d201e3da31a2c8aa870c8314623caef7debd74a13d0f25205e26f15%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r476d175be0aaf4a17680ef98c5153b4d336eaef76fb2224cc94c463a%40%3Ccvs.httpd.apache.org%3E
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.