CVE-2009-3557

php: safe_mode / open_basedir security fixes in 5.3.1

Published Nov 23, 2009 CVSS 2.0 · 5.0 Medium EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2009-3538 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.
Ubuntu USN Ubuntu USN USN-862-1 PHP vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 6:31 AM
Reserved
Oct 5, 2009, 12:00 AM
Status
Modified
Published
Nov 23, 2009, 5:30 PM
Modified
Jun 16, 2026, 11:11 PM
Severity
Public date
Sep 30, 2009, 12:00 AM