CVE-2006-5178
PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
6Exploited in Wild
-Decision
Descriptions
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.
Condición de carrera en la función symlink en PHP 5.1.6 y anteriores permite a usuarios locales evitar la restricción open_basedir usando una combinación de las funciones symlink, mkdir, y unlink para cambiar la ruta de archivo tras la comprobación de open_basedir y antes de que el archivo es abierto por el sistema subyacente, como ha sido demostrado enlazando simbólicamente un enlace simbólico dentro de un subdirectorio, para que apunte a un directorio padre mediante secuencias .. (punto punto), y entonces desenlazar el enlace simbólico resultante.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2006-10-05 CVE Reserved
- 2006-10-06 CVE Published
- 2009-12-19 First Exploit
- 2024-06-11 EPSS Updated
- 2024-08-07 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CAPEC
References (16)
URL | Tag | Source |
---|---|---|
http://secunia.com/advisories/22424 | Third Party Advisory | |
http://securityreason.com/securityalert/1692 | Third Party Advisory | |
http://www.neosecurityteam.net/index.php?action=advisories&id=26 | X_refsource_misc | |
http://www.securityfocus.com/archive/1/447649/100/0/threaded | Mailing List | |
http://www.securityfocus.com/archive/1/448020/100/0/threaded | Mailing List | |
http://www.vupen.com/english/advisories/2006/3901 | Vdb Entry | |
https://exchange.xforce.ibmcloud.com/vulnerabilities/29340 | Vdb Entry |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/10557 | 2009-12-19 | |
http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html | 2024-08-07 | |
http://secunia.com/advisories/22235 | 2024-08-07 | |
http://securitytracker.com/id?1016977 | 2024-08-07 | |
http://www.hardened-php.net/advisory_082006.132.html | 2024-08-07 | |
http://www.securityfocus.com/bid/20326 | 2024-08-07 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://www.mandriva.com/security/advisories?name=MDKSA-2006:185 | 2018-10-30 | |
http://www.securityfocus.com/archive/1/448953/100/0/threaded | 2018-10-30 | |
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt | 2018-10-30 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | <= 5.1.6 Search vendor "Php" for product "Php" and version " <= 5.1.6" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0 Search vendor "Php" for product "Php" and version "4.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.1 Search vendor "Php" for product "Php" and version "4.0.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.1 Search vendor "Php" for product "Php" and version "4.0.1" | patch1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.1 Search vendor "Php" for product "Php" and version "4.0.1" | patch2 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.2 Search vendor "Php" for product "Php" and version "4.0.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.3 Search vendor "Php" for product "Php" and version "4.0.3" | patch1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.4 Search vendor "Php" for product "Php" and version "4.0.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.5 Search vendor "Php" for product "Php" and version "4.0.5" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.6 Search vendor "Php" for product "Php" and version "4.0.6" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.7 Search vendor "Php" for product "Php" and version "4.0.7" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.7 Search vendor "Php" for product "Php" and version "4.0.7" | rc1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.7 Search vendor "Php" for product "Php" and version "4.0.7" | rc2 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.7 Search vendor "Php" for product "Php" and version "4.0.7" | rc3 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.1.0 Search vendor "Php" for product "Php" and version "4.1.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.1.1 Search vendor "Php" for product "Php" and version "4.1.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.1.2 Search vendor "Php" for product "Php" and version "4.1.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.2 Search vendor "Php" for product "Php" and version "4.2" | dev |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.2.0 Search vendor "Php" for product "Php" and version "4.2.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.2.1 Search vendor "Php" for product "Php" and version "4.2.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.2.2 Search vendor "Php" for product "Php" and version "4.2.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.2.3 Search vendor "Php" for product "Php" and version "4.2.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.0 Search vendor "Php" for product "Php" and version "4.3.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.1 Search vendor "Php" for product "Php" and version "4.3.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.2 Search vendor "Php" for product "Php" and version "4.3.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.3 Search vendor "Php" for product "Php" and version "4.3.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.4 Search vendor "Php" for product "Php" and version "4.3.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.5 Search vendor "Php" for product "Php" and version "4.3.5" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.6 Search vendor "Php" for product "Php" and version "4.3.6" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.7 Search vendor "Php" for product "Php" and version "4.3.7" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.8 Search vendor "Php" for product "Php" and version "4.3.8" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.9 Search vendor "Php" for product "Php" and version "4.3.9" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.10 Search vendor "Php" for product "Php" and version "4.3.10" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.3.11 Search vendor "Php" for product "Php" and version "4.3.11" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.0 Search vendor "Php" for product "Php" and version "4.4.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.1 Search vendor "Php" for product "Php" and version "4.4.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.2 Search vendor "Php" for product "Php" and version "4.4.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.3 Search vendor "Php" for product "Php" and version "4.4.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.4 Search vendor "Php" for product "Php" and version "4.4.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0 Search vendor "Php" for product "Php" and version "5.0" | rc1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0 Search vendor "Php" for product "Php" and version "5.0" | rc2 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0 Search vendor "Php" for product "Php" and version "5.0" | rc3 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.0 Search vendor "Php" for product "Php" and version "5.0.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.1 Search vendor "Php" for product "Php" and version "5.0.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.2 Search vendor "Php" for product "Php" and version "5.0.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.3 Search vendor "Php" for product "Php" and version "5.0.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.4 Search vendor "Php" for product "Php" and version "5.0.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.0.5 Search vendor "Php" for product "Php" and version "5.0.5" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.0 Search vendor "Php" for product "Php" and version "5.1.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.1 Search vendor "Php" for product "Php" and version "5.1.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.2 Search vendor "Php" for product "Php" and version "5.1.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.3 Search vendor "Php" for product "Php" and version "5.1.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.4 Search vendor "Php" for product "Php" and version "5.1.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.1.5 Search vendor "Php" for product "Php" and version "5.1.5" | - |
Affected
|