PHP Symlink Function Race Condition open_basedir Bypass

This script is Copyright (C) 2011-2013 Tenable Network Security, Inc.


Synopsis :

The remote web server uses a version of PHP that is affected by a
security bypass vulnerability.

Description :

According to its banner, the version of PHP installed on the remote
host is affected by a security bypass vulnerability. A race condition
exists in the symlink function that allows local users to bypass the
open_basedir restriction by using a combination of symlink, mkdir, and
unlink functions.

See also :

http://www.securityfocus.com/archive/1/447649/100/0/threaded

Solution :

There is no known solution at this time.

Risk factor :

Medium / CVSS Base Score : 6.2
(CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 5.9
(CVSS2#E:F/RL:U/RC:ND)
Public Exploit Available : true

Family: CGI abuses

Nessus Plugin ID: 17717 ()

Bugtraq ID: 20326

CVE ID: CVE-2006-5178