CVE-2009-3557

UnknownEPSS 2.10%

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

EPSS Probability
2.10%

79.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp<= 5.2.11
PhpPhp1.0
PhpPhp2.0
PhpPhp2.0b10
PhpPhp3.0
PhpPhp3.0.1
PhpPhp3.0.2
PhpPhp3.0.3
PhpPhp3.0.4
PhpPhp3.0.5
PhpPhp3.0.6
PhpPhp3.0.7
PhpPhp3.0.8
PhpPhp3.0.9
PhpPhp3.0.10
PhpPhp3.0.11
PhpPhp3.0.12
PhpPhp3.0.13
PhpPhp3.0.14
PhpPhp3.0.15
PhpPhp3.0.16
PhpPhp3.0.17
PhpPhp3.0.18
PhpPhp4.0
PhpPhp4.0.0
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.7
PhpPhp4.3.10
PhpPhp4.3.11
PhpPhp4.4.2
PhpPhp4.4.7
PhpPhp4.4.8
PhpPhp4.4.9
PhpPhp5.0.0

Showing 50 of 57 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2009-3557?
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.
How severe is CVE-2009-3557?
Severity scoring for CVE-2009-3557 is pending analysis. The EPSS model estimates a 2.10% probability of exploitation in the next 30 days.
How do I fix CVE-2009-3557?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2009-3557?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST