← Database

CVE-2009-3557

MEDIUM CVSS: 5.0 Published: 2009-11-23 Modified: 2026-06-16

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.

Affected Platforms

Php Php

Weakness Type

CWE-264

References