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
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:N/I:P/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Nov 23, 2009
- Last modified
- Jun 16, 2026
- NVD status
- Modified