| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in PHP up to 5.1.0. Affected by this vulnerability is the function tempnam. This manipulation causes access control.
This vulnerability is registered as CVE-2009-3557. Furthermore, an exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in PHP up to 5.1.0 (Programming Language Software). It has been declared as problematic. Affected by this vulnerability is the function tempnam. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect integrity. The summary by CVE is:
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.
The weakness was published 11/23/2009 (Website). It is possible to read the advisory at php.net. This vulnerability is known as CVE-2009-3557. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
A public exploit has been developed in Python. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 43342 (FreeBSD : php -- multiple vulnerabilities (39a25a63-eb5c-11de-b650-00215c6a37bb)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 118111 (HP-UX Running Apache with PHP Remote Denial of Service Vulnerability (HPSBUX02543)).
Upgrading to version 5.1.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (53567), Tenable (43342), SecurityFocus (BID 37079†) and Vulnerability Center (SBV-24166†). Similar entries are available at VDB-51227, VDB-51226, VDB-50920 and VDB-50887. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
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: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 43342
Nessus Name: FreeBSD : php -- multiple vulnerabilities (39a25a63-eb5c-11de-b650-00215c6a37bb)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 66779
OpenVAS Name: Slackware Advisory SSA:2010-024-02 php
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.1.1
Timeline
09/30/2009 🔍10/05/2009 🔍
11/20/2009 🔍
11/23/2009 🔍
11/23/2009 🔍
11/24/2009 🔍
12/18/2009 🔍
03/18/2015 🔍
08/28/2021 🔍
Sources
Product: php.orgAdvisory: php.net
Status: Not defined
Confirmation: 🔍
CVE: CVE-2009-3557 (🔍)
GCVE (CVE): GCVE-0-2009-3557
GCVE (VulDB): GCVE-100-50875
OVAL: 🔍
X-Force: 53567
SecurityFocus: 37079 - PHP Versions Prior to 5.3.1 Multiple Vulnerabilities
Vulnerability Center: 24166 - PHP <= 5.2.11 and 5.3 tempnam Function Security Restrictions Bypass Vulnerability, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/18/2015 15:15Updated: 08/28/2021 02:34
Changes: 03/18/2015 15:15 (65), 02/17/2017 11:26 (11), 08/28/2021 02:27 (4), 08/28/2021 02:34 (1)
Complete: 🔍
Cache ID: 216:8F3:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.