Secunia Logo
Netsikker nu! 2008
 
Apache "mod_alias" URL Validation Canonicalization Vulnerability
Secunia Advisory: SA21490
Release Date: 2006-08-11
Last Update: 2006-08-18
Popularity: 16,025 views

Critical:
Less critical
Impact: Security Bypass
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:Apache 2.0.x
Apache 2.2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4110


Description:
Susam Pal has discovered a vulnerability in Apache, which can be exploited by malicious people to bypass certain security restrictions and disclose potentially sensitive information.

The vulnerability is caused due to a canonicalization error in the "mod_alias" module in the handling of case-sensitive alias directive arguments on file systems supporting case-insensitive directory names. This can e.g. be exploited to disclose the source code of applications placed in the "cgi-bin" directory on certain non-default configurations where the ScriptAlias directive references a directory inside the document root by accessing an URL with a capital directory name (e.g. "CGI-BIN").

Example of a vulnerable configuration:
DocumentRoot "[path]/docroot/"
ScriptAlias /cgi-bin/ "/[path]/docroot/cgi-bin"

NOTE: This only affects the Microsoft Windows platform.

The vulnerability has been confirmed in versions 2.0.59 and 2.2.3, and has also been reported in version 2.2.2. Other versions may also be affected.

Solution:
Edit the configuration to ensure that alias directives (e.g. ScriptAlias) references directories outside of the document root.

Provided and/or discovered by:
Susam Pal


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. My PHP Indexer "d" File Disclosure Vulnerability // 43 views
2. Subdreamer Light Global Variables SQL Injection Vulnerability // 39 views
3. Joomla Ignite Gallery Component "gallery" SQL Injection // 39 views
4. WinFTP "PASV" Denial of Service Vulnerability // 37 views
5. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 33 views
6. NewLife Blogger "nlb3" SQL Injection Vulnerability // 33 views
7. Real Estates Classifieds "cat" SQL Injection Vulnerability // 33 views
8. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 30 views
9. Joomla OwnBiblio Component "catid" SQL Injection // 29 views
10. Ayco Okul "linkid" SQL Injection Vulnerability // 29 views