CVE-2009-3557
 
Severity Score
5.0
*CVSS v2
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
La función tempnam de ext/standard/file.c de PHP v5.2.11 y anteriores, y v5.3.x anteriores a v5.3.1, permite a usuarios dependiendo del contexto evitar las restricciones safe_mode, y crear ficheros en directorios con permisos de sistema operativo de escritura para su grupo o para cualquier usuario, a través de los argumentos dir y prefix.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2009-10-05 CVE Reserved
- 2009-11-23 CVE Published
- 2023-03-07 EPSS Updated
- 2024-08-07 CVE Updated
- 2024-08-07 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-264: Permissions, Privileges, and Access Controls
CAPEC
References (22)
URL | Tag | Source |
---|---|---|
http://news.php.net/php.announce/79 | Mailing List | |
http://secunia.com/advisories/37821 | Third Party Advisory | |
http://secunia.com/advisories/40262 | Third Party Advisory | |
http://support.apple.com/kb/HT4077 | X_refsource_confirm | |
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log | X_refsource_confirm | |
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log | X_refsource_confirm | |
http://svn.php.net/viewvc?view=revision&revision=288945 | X_refsource_confirm | |
http://www.php.net/releases/5_2_12.php | X_refsource_confirm | |
http://www.vupen.com/english/advisories/2009/3593 | Vdb Entry | |
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396 | Signature |
URL | Date | SRC |
---|---|---|
http://securityreason.com/securityalert/6601 | 2024-08-07 |
URL | Date | SRC |
---|---|---|
http://www.openwall.com/lists/oss-security/2009/11/20/2 | 2018-10-30 | |
http://www.openwall.com/lists/oss-security/2009/11/20/3 | 2018-10-30 | |
http://www.openwall.com/lists/oss-security/2009/11/20/5 | 2018-10-30 | |
http://www.php.net/ChangeLog-5.php | 2018-10-30 | |
http://www.php.net/releases/5_3_1.php | 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.2.11 Search vendor "Php" for product "Php" and version " <= 5.2.11" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 1.0 Search vendor "Php" for product "Php" and version "1.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 2.0 Search vendor "Php" for product "Php" and version "2.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 2.0b10 Search vendor "Php" for product "Php" and version "2.0b10" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0 Search vendor "Php" for product "Php" and version "3.0" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.1 Search vendor "Php" for product "Php" and version "3.0.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.2 Search vendor "Php" for product "Php" and version "3.0.2" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.3 Search vendor "Php" for product "Php" and version "3.0.3" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.4 Search vendor "Php" for product "Php" and version "3.0.4" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.5 Search vendor "Php" for product "Php" and version "3.0.5" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.6 Search vendor "Php" for product "Php" and version "3.0.6" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.7 Search vendor "Php" for product "Php" and version "3.0.7" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.8 Search vendor "Php" for product "Php" and version "3.0.8" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.9 Search vendor "Php" for product "Php" and version "3.0.9" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.10 Search vendor "Php" for product "Php" and version "3.0.10" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.11 Search vendor "Php" for product "Php" and version "3.0.11" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.12 Search vendor "Php" for product "Php" and version "3.0.12" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.13 Search vendor "Php" for product "Php" and version "3.0.13" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.14 Search vendor "Php" for product "Php" and version "3.0.14" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.15 Search vendor "Php" for product "Php" and version "3.0.15" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.16 Search vendor "Php" for product "Php" and version "3.0.16" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.17 Search vendor "Php" for product "Php" and version "3.0.17" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 3.0.18 Search vendor "Php" for product "Php" and version "3.0.18" | - |
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 Search vendor "Php" for product "Php" and version "4.0" | beta_4_patch1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0 Search vendor "Php" for product "Php" and version "4.0" | beta1 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0 Search vendor "Php" for product "Php" and version "4.0" | beta2 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0 Search vendor "Php" for product "Php" and version "4.0" | beta3 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0 Search vendor "Php" for product "Php" and version "4.0" | beta4 |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.0.0 Search vendor "Php" for product "Php" and version "4.0.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.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" | - |
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.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.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.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.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.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.7 Search vendor "Php" for product "Php" and version "4.4.7" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.8 Search vendor "Php" for product "Php" and version "4.4.8" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 4.4.9 Search vendor "Php" for product "Php" and version "4.4.9" | - |
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.0 Search vendor "Php" for product "Php" and version "5.0.0" | beta4 |
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.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.2.1 Search vendor "Php" for product "Php" and version "5.2.1" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.2.5 Search vendor "Php" for product "Php" and version "5.2.5" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.2.6 Search vendor "Php" for product "Php" and version "5.2.6" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.2.10 Search vendor "Php" for product "Php" and version "5.2.10" | - |
Affected
| ||||||
Php Search vendor "Php" | Php Search vendor "Php" for product "Php" | 5.3.0 Search vendor "Php" for product "Php" and version "5.3.0" | - |
Affected
|