{ "schema_version": "1.4.0", "id": "GHSA-qq66-666f-6x36", "modified": "2022-05-01T07:25:50Z", "published": "2022-05-01T07:25:50Z", "aliases": [ "CVE-2006-5178" ], "details": "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.", "severity": [], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-5178" }, { "type": "WEB", "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340" }, { "type": "WEB", "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html" }, { "type": "WEB", "url": "http://secunia.com/advisories/22235" }, { "type": "WEB", "url": "http://secunia.com/advisories/22424" }, { "type": "WEB", "url": "http://securityreason.com/securityalert/1692" }, { "type": "WEB", "url": "http://securitytracker.com/id?1016977" }, { "type": "WEB", "url": "http://www.hardened-php.net/advisory_082006.132.html" }, { "type": "WEB", "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185" }, { "type": "WEB", "url": "http://www.neosecurityteam.net/index.php?action=advisories&id=26" }, { "type": "WEB", "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded" }, { "type": "WEB", "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded" }, { "type": "WEB", "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/20326" }, { "type": "WEB", "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt" }, { "type": "WEB", "url": "http://www.vupen.com/english/advisories/2006/3901" } ], "database_specific": { "cwe_ids": [ "CWE-362" ], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2006-10-10T04:06:00Z" } }