Apache and PHP OPTIONS request reveals "php.exe" path

apache-php-options-information (8119) The risk level is classified as LowLow Risk


Apache HTTP Server could allow a remote attacker to obtain sensitive path information. A remote attacker could send an OPTIONS request to obtain the path of the 'php.exe' file and possibly obtain sensitive information.


Obtain Information


No remedy available as of September 1, 2014.


  • BugTraq Mailing List, Thu Feb 07 2002 - 06:03:00 CST: PHP Advisory #2.
  • BID-4057: Apache 2 for Windows OPTIONS request Path Disclosure Vulnerability
  • CVE-2002-0240: PHP, when installed with Apache and configured to search for index.php as a default web page, allows remote attackers to obtain the full pathname of the server via the HTTP OPTIONS method, which reveals the pathname in the resulting error message.
  • OSVDB ID: 3565: PHP OPTIONS Path Disclosure

Platforms Affected:

  • Apache HTTP Server 2.0.28 Beta


Feb 07, 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