Apache HTTP Server .var file request could disclose installation path

apache-var-path-disclosure (9875) The risk level is classified as LowLow Risk


Apache HTTP Server could allow a remote attacker to obtain the full path to the Apache installation directory, caused by a vulnerability in the multiview type map negotiation. If a remote attacker sends a specially-crafted URL request appended with .var, the attacker could cause an error message to be returned that would contain the full path to the installation directory. An attacker could use this vulnerability to obtain sensitive information, such as the operating system and server version. This information could then be used to launch further attacks against the affected Web server.

Note: This vulnerability only affects non-Unix installations of Apache HTTP Server.


Obtain Information


Upgrade to the latest version of Apache HTTP Server (2.0.40 or later), available from the Apache Web site. See References.


  • Apache 2.x Change Log: Changes with Apache 2.0.40. (Look for security issue relating to CAN-2002-0654.)
  • Apache Web site: Apache HTTPD Project.
  • BugTraq Mailing List, Fri Aug 16 2002 - 12:01:29 CDT : Apache 2.0.39 directory traversal and path disclosure bug .
  • BID-5485: Apache 2.0 Path Disclosure Vulnerability
  • BID-5486: Apache 2.0 CGI Path Disclosure Vulnerability
  • CVE-2002-0654: Apache 2.0 through 2.0.39 on Windows, OS2, and Netware allows remote attackers to determine the full pathname of the server via (1) a request for a .var file, which leaks the pathname in the resulting error message, or (2) via an error message that occurs when a script (child process) cannot be invoked.

Platforms Affected:

  • Apache HTTP Server 2.0
  • Apache HTTP Server 2.0.28 Beta
  • Apache HTTP Server 2.0.28
  • Apache HTTP Server 2.0.32
  • Apache HTTP Server 2.0.32 Beta
  • Apache HTTP Server 2.0.34 Beta
  • 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


Aug 16, 2002

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page