Skip to main content
← All vulnerabilities
CVE-2006-5178

Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combina

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB

Summary

Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-10557

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 16

lists.grok.org.uk

securityfocus.com

turbolinux.com

securityreason.com

neosecurityteam.net

secunia.com

vupen.com

exchange.xforce.ibmcloud.com

mandriva.com

hardened-php.net

securitytracker.com

Exploit-DB