| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in PHP up to 5.2.12. This impacts the function tempnam of the component Access Restriction. Executing a manipulation can lead to input validation.
This vulnerability is tracked as CVE-2010-1129. No exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability has been found in PHP up to 5.2.12 (Programming Language Software) and classified as critical. This vulnerability affects the function tempnam of the component Access Restriction. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was disclosed 03/26/2010 by Martin (Website). The advisory is available at php.net. This vulnerability was named CVE-2010-1129 since 03/26/2010. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 56459 (GLSA-201110-06 : PHP: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 118433 (Apple Mac OS X Security Update 2010-005 Not Installed (APPLE-SA-2010-08-24-1)).
Upgrading to version 5.2.7 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (56535), Tenable (56459), SecurityFocus (BID 38431†), Secunia (SA38708†) and SecurityTracker (ID 1023661†). The entries VDB-3695, VDB-5786, VDB-5794 and VDB-9021 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 56459
Nessus Name: GLSA-201110-06 : PHP: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 830876
OpenVAS Name: Mandriva Update for mandriva-release MDVA-2010:058 (mandriva-release)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.2.7
Timeline
11/24/2009 🔍02/26/2010 🔍
02/26/2010 🔍
02/27/2010 🔍
03/09/2010 🔍
03/26/2010 🔍
03/26/2010 🔍
03/26/2010 🔍
03/19/2015 🔍
05/03/2026 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Martin
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2010-1129 (🔍)
GCVE (CVE): GCVE-0-2010-1129
GCVE (VulDB): GCVE-100-52402
OVAL: 🔍
X-Force: 56535
SecurityFocus: 38431 - PHP 'tempnam()' 'safe_mode' Validation Restriction-Bypass Vulnerability
Secunia: 38708 - PHP Two Security Bypass Vulnerabilities, Less Critical
SecurityTracker: 1023661 - PHP Bugs Let Local Users Bypass safe_mode and open_basedir Security Controls
Vulnerability Center: 25010 - PHP 5.2 - 5.2.12 tempnam() Function Remote Security Restrictions Bypass Vulnerability, Medium
Vupen: ADV-2010-0479
See also: 🔍
Entry
Created: 03/19/2015 12:22Updated: 05/03/2026 14:38
Changes: 03/19/2015 12:22 (66), 02/21/2017 17:33 (18), 09/05/2021 22:59 (3), 05/03/2026 14:38 (15)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.