NetSight
high7.5

CVE-2010-1129

The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-d…

Impact

The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-dependent attackers to bypass intended access restrictions via vectors related to use of the tempnam function.

Affected products

VendorProductAffected versions
PhpPhp
Versions 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5

Weakness classification

References