Back

MEDIUM

php: safe_mode / open_basedir security fixes in 5.3.1

Published Nov 23, 2009

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 products

Remediation

Red Hat statement

We do not consider safe_mode / open_basedir restriction bypass issues being security sensitive. For more details see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php

Metrics

Weaknesses (1)

References (26)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 23, 2009
Updated Aug 7, 2024
Reserved Oct 5, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity n/a
Public date Sep 30, 2009