J-Security Center

Title: Apache HTTP Server (win32) Root Directory Access Vulnerability

Severity: MODERATE

Description:

Apache HTTP Server 1.3.x (win32) allows people to get a directory listing of a directory, if it is enabled in the config, even if an index file is present that would normally be displayed instead. This can be achieved by sending a number of "/" characters appended to an HTTP request to the server. (eg: http://www.host.com///////////////////////////////////////////////////////...) When apache calls stat() to check if the index.html (for example) exists, Windows will return an error if the path is too long. Apache incorrectly treats this as if the file does not exist. Different numbers of "/"s are required based on the length of the path to the DocumentRoot.

Affected Products:

  • Apache Software Foundation Apache for Windows 1.3.11
  • Apache Software Foundation Apache for Windows 1.3.12
  • Apache Software Foundation Apache for Windows 1.3.20
  • Apache Software Foundation Apache for Windows 1.3.6
  • Apache Software Foundation Apache for Windows 1.3.9
  • IBM HTTP Server 1.3.3 win32
  • IBM HTTP Server 1.3.6.2 win32

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.