CVEvulnerability

CVE-2010-1129

7.5 HIGH Published 2010-03-26 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2010-03-26
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-20

Description

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 configurations

• php php 5.2.0 • php php 5.2.1 • php php 5.2.2 • php php 5.2.3 • php php 5.2.4 • php php 5.2.5 • php php 5.2.6 • php php 5.2.7 • php php 5.2.8 • php php 5.2.9 • php php 5.2.10 • php php 5.2.11 • php php 5.2.12

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References