PHP request with "/123" appended reveals path information

php-123-path-information (8121) The risk level is classified as LowLow Risk


PHP running with Apache HTTP Server could allow a remote attacker to obtain the path of 'php.exe'. A remote attacker could send a specially-crafted URL request containing a PHP file with a '/123' appended 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 - 05:59:50 CST: Security Advisory - #1.
  • BID-4056: Apache 2 for Windows php.exe Path Disclosure Vulnerability
  • CVE-2002-0249: PHP for Windows, when installed on Apache 2.0.28 beta as a standalone CGI module, allows remote attackers to obtain the physical path of the php.exe via a request with malformed arguments such as /123, which leaks the pathname in the error message.
  • OSVDB ID: 827: PHP4 for Apache on Windows php.exe Malformed Request 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