PHP URL requests with "slash" (/) reveal path information

php-slash-path-information (8122) The risk level is classified as LowLow Risk

Description:

PHP4 running on Apache HTTP Server version 2.0.28 Beta for Windows could allow a remote attacker to obtain sensitive path information. A remote attacker could send a specially-crafted URL request containing include files with a 'slash' (/) appended to obtain the include file path information and gain access to sensitive information.


Consequences:

Obtain Information

Remedy:

No remedy available as of April 1, 2014.

References:

  • BugTraq Mailing List, Thu Feb 07 2002 - 06:06:56 CST: Advisory #3 - PHP & JSP.
  • BID-4063: PHP Include File Relative Directory Information Disclosure Vulnerability
  • CVE-2002-0253: PHP, when not configured with the display_errors = Off setting in php.ini, allows remote attackers to obtain the physical path for an include file via a trailing slash in a request to a directly accessible PHP program, which modifies the base path, causes the include directive to fail, and produces an error message that contains the path.
  • OSVDB ID: 14337: PHP display_errors Malformed Request Path Disclosure

Platforms Affected:

  • Apache HTTP Server 2.0.28 Beta
  • PHP PHP 4.0

Reported:

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