Title: Apache Rewrite Module Arbitrary File Disclosure Vulnerability
Severity: MODERATE
Description:
mod_rewrite is a module shipped with Apache 1.2 and later. It is used to map special URLS to absolute files on the web server's filesystem.
If a RewriteRule directive is expressed whose result maps to a filename containing regular expression references, the result may provide an attacker with the ability to view arbitrary files on the host.
example RewriteRule directives: (the first two are vulnerable)
RewriteRule /test/(.*) /usr/local/data/test-stuff/$1
RewriteRule /more-icons/(.*) /icons/$1
RewriteRule /go/(.*) http://www.apacheweek.com/$1
(excerpted from Apache development list 09-22 and amended by Tony Finch <dot@dotat.at>)
Affected Products:
- Apache Software Foundation Apache 0.8.11
- Apache Software Foundation Apache 0.8.14
- Apache Software Foundation Apache 1.0.0
- Apache Software Foundation Apache 1.0.2
- Apache Software Foundation Apache 1.0.3
- Apache Software Foundation Apache 1.0.5
- Apache Software Foundation Apache 1.1.0
- Apache Software Foundation Apache 1.1.1
- Apache Software Foundation Apache 1.3.12
- Apache Software Foundation Apache for Windows 1.3.11
- Netscreen NetScreen-Global PRO Express Policy Manager Server
- Netscreen NetScreen-Global PRO Policy Manager Server
- OpenBSD OpenBSD 2.8.0
- RedHat Linux 6.2.0 alpha
- RedHat Linux 6.2.0 i386
- RedHat Linux 6.2.0 sparc
- RedHat Linux 7.0.0 alpha
- RedHat Linux 7.0.0 i386
- S.u.S.E. Linux 7.0.0
- S.u.S.E. Linux 7.0.0 sparc
- Sun Cobalt ManageRaQ v2 3599BD
- Sun Cobalt Qube3 4000WG
- Sun Cobalt RaQ XTR 3500R
- Sun Cobalt RaQ4 3001R
References:
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.