NetSight
medium5.0

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, an…

Impact

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.

Affected products

VendorProductAffected versions
PhpPhp
through 5.2.11
Versions 1.0, 2.0, 2.0b10, 3.0, 3.0.1

Weakness classification

References