Title: Apache Mod ReWrite Rules Bypassing Image Linking Vulnerability
Severity: MODERATE
Description:
Apache is a freely available, widely used web server distributed and maintained by the Apache Server Project.
A problem has been discovered that may allow remote users to link files and images even if mod_rewrite is used. The problem is likely in the handling of file names by the the file system on most UNIX implementations.
mod_rewrite rules are normally used to prevent web servers outside of the local host from linking images and files, preventing a load increase on the local host and network capacity increase.
A typical mod_rewrite rule looks like the following:
RewriteCond %{HTTP_REFERER} !^http://www\.yoursite\.com.*$
RewriteRule ^/images/.* - [G]
However, when a HTTP GET request for the //images directory is made to the server, it does not match the above rule, thus allowing a user to directly access the image.
This could allow for the bypassing of mod_rewrite rules, which may lead to increased server load, increased load on local network resources, and potentially denial of service.
Affected Products:
- Apache Software Foundation Apache 1.3.14
- Apache Software Foundation Apache 1.3.17
- Apache Software Foundation Apache 1.3.19
- Apache Software Foundation Apache 1.3.20
- Debian Linux 2.3.0
- EnGarde Secure Linux 1.0.1
- HP Secure OS software for Linux 1.0.0
- IBM HTTP Server 1.3.19
- MandrakeSoft Corporate Server 1.0.1
- MandrakeSoft Linux Mandrake 7.1.0
- MandrakeSoft Linux Mandrake 7.2.0
- MandrakeSoft Linux Mandrake 8.0.0
- MandrakeSoft Linux Mandrake 8.0.0 ppc
- MandrakeSoft Linux Mandrake 8.1.0
- MandrakeSoft Single Network Firewall 7.2.0
- OpenBSD OpenBSD 2.8.0
- OpenBSD OpenBSD 2.9.0
- OpenBSD OpenBSD 3.0
- S.u.S.E. Linux 6.4.0
- S.u.S.E. Linux 6.4.0 alpha
- S.u.S.E. Linux 6.4.0 i386
- S.u.S.E. Linux 6.4.0 ppc
- S.u.S.E. Linux 7.0.0
- S.u.S.E. Linux 7.0.0 alpha
- S.u.S.E. Linux 7.0.0 i386
- S.u.S.E. Linux 7.0.0 ppc
- S.u.S.E. Linux 7.0.0 sparc
- S.u.S.E. Linux 7.1.0
- S.u.S.E. Linux 7.1.0 alpha
- S.u.S.E. Linux 7.1.0 ppc
- S.u.S.E. Linux 7.1.0 sparc
- S.u.S.E. Linux 7.1.0 x86
- S.u.S.E. Linux 7.2.0
- S.u.S.E. Linux 7.2.0 i386
- S.u.S.E. Linux 7.3.0
- S.u.S.E. Linux 7.3.0 i386
- S.u.S.E. Linux 7.3.0 ppc
- S.u.S.E. Linux 7.3.0 sparc
- SGI IRIX 6.5.0
- SGI IRIX 6.5.1
- SGI IRIX 6.5.10
- SGI IRIX 6.5.11
- SGI IRIX 6.5.12
- SGI IRIX 6.5.12 f
- SGI IRIX 6.5.12 m
- SGI IRIX 6.5.13
- SGI IRIX 6.5.13 f
- SGI IRIX 6.5.13 m
- SGI IRIX 6.5.14
- SGI IRIX 6.5.14 f
- SGI IRIX 6.5.14 m
- SGI IRIX 6.5.15
- SGI IRIX 6.5.16
- SGI IRIX 6.5.17
- SGI IRIX 6.5.18
- SGI IRIX 6.5.2
- SGI IRIX 6.5.3
- SGI IRIX 6.5.4
- SGI IRIX 6.5.5
- SGI IRIX 6.5.6
- SGI IRIX 6.5.7
- SGI IRIX 6.5.8
- SGI IRIX 6.5.9
- Slackware Linux 8.0.0
- Sun Cobalt Control Station 4100CS
- Sun Cobalt RaQ 550
- Sun Solaris 9
- Sun Solaris 9_x86
- Sun Solaris 9_x86 Update 2
- Sun SunOS 5.9.0
- Sun SunOS 5.9.0 _x86
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.