Directory traversal vulnerability in PHP 5.2.4 and earlier allows attackers to bypass open_basedir restrictions and possibly execute arbitrary code via a .. (dot dot) in the dl function.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.php.net/ChangeLog-5.php#5.2.5 | |
http://www.securityfocus.com/archive/1/478989/100/0/threaded | mailing list |
http://osvdb.org/45902 | vdb entry |
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html | vendor advisory |
http://secunia.com/advisories/28658 | third party advisory |
http://securityreason.com/securityalert/3119 | third party advisory |
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml | vendor advisory |
http://www.securityfocus.com/archive/1/478988/100/0/threaded | mailing list |
http://www.php.net/releases/5_2_5.php | |
http://www.securityfocus.com/archive/1/478985/100/0/threaded | mailing list |
https://exchange.xforce.ibmcloud.com/vulnerabilities/36528 | vdb entry |
http://secunia.com/advisories/27102 | third party advisory |