CVE-2009-3557
Last modified
CVE-2009-3557 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.10% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.2.11 |
| Php | Php | 1.0 |
| Php | Php | 2.0 |
| Php | Php | 2.0b10 |
| Php | Php | 3.0 |
| Php | Php | 3.0.1 |
| Php | Php | 3.0.2 |
| Php | Php | 3.0.3 |
| Php | Php | 3.0.4 |
| Php | Php | 3.0.5 |
| Php | Php | 3.0.6 |
| Php | Php | 3.0.7 |
| Php | Php | 3.0.8 |
| Php | Php | 3.0.9 |
| Php | Php | 3.0.10 |
| Php | Php | 3.0.11 |
| Php | Php | 3.0.12 |
| Php | Php | 3.0.13 |
| Php | Php | 3.0.14 |
| Php | Php | 3.0.15 |
| Php | Php | 3.0.16 |
| Php | Php | 3.0.17 |
| Php | Php | 3.0.18 |
| Php | Php | 4.0 |
| Php | Php | 4.0.0 |
| Php | Php | 4.0.1 |
| Php | Php | 4.0.2 |
| Php | Php | 4.0.3 |
| Php | Php | 4.0.4 |
| Php | Php | 4.0.5 |
| Php | Php | 4.0.6 |
| Php | Php | 4.0.7 |
| Php | Php | 4.1.0 |
| Php | Php | 4.1.1 |
| Php | Php | 4.1.2 |
| Php | Php | 4.2.0 |
| Php | Php | 4.2.1 |
| Php | Php | 4.2.2 |
| Php | Php | 4.2.3 |
| Php | Php | 4.3.0 |
| Php | Php | 4.3.1 |
| Php | Php | 4.3.2 |
| Php | Php | 4.3.7 |
| Php | Php | 4.3.10 |
| Php | Php | 4.3.11 |
| Php | Php | 4.4.2 |
| Php | Php | 4.4.7 |
| Php | Php | 4.4.8 |
| Php | Php | 4.4.9 |
| Php | Php | 5.0.0 |
Showing 50 of 57 affected configurations. See NVD for the full list.
References
- http://secunia.com/advisories/37412Vendor Advisory
- http://www.php.net/ChangeLog-5.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_3_1.phpPatch, Vendor Advisory
- http://secunia.com/advisories/37412Vendor Advisory
- http://www.php.net/ChangeLog-5.phpPatch, Vendor Advisory
- http://www.php.net/releases/5_3_1.phpPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2009-3557?
How severe is CVE-2009-3557?
How do I fix CVE-2009-3557?
Are you affected by CVE-2009-3557?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
