PHP creates insecure temporary session ID files

php-session-temp-disclosure (7908) The risk level is classified as LowLow Risk


PHP stores session information in the /tmp directory, which includes the session ID in the file name. A local attacker can exploit this vulnerability by using the session ID information in the /tmp directory to hijack Web sessions.


Obtain Information


No remedy available as of September 1, 2014.


Platforms Affected:

  • PHP PHP 4.0
  • PHP PHP 4.1.1


Jan 13, 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