PHP 5.5/5.6 ZipArchive::extractTo path traversal

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

A vulnerability classified as critical was found in PHP 5.5/5.6 (Programming Language Software). This vulnerability affects the function ZipArchive::extractTo. The manipulation with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was presented 03/16/2016 by Neal as confirmed mailinglist post (oss-sec). The advisory is shared for download at seclists.org. This vulnerability was named CVE-2014-9767 since 03/15/2016. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.

The vulnerability scanner Nessus provides a plugin with the ID 90825 (Ubuntu 15.10 : php5 regression (USN-2952-2)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 168777 (SUSE Enterprise Linux Security update for php53 (SUSE-SU-2016:1145-1)).

Upgrading to version 5.6.13, 5.5.29 or 5.4.45 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (111541) and Tenable (90825). See 79538, 81367, 81368 and 81387 for similar entries.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.1
VulDB Meta Temp Score: 6.4

VulDB Base Score: 9.8
VulDB Temp Score: 8.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.3
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
ATT&CK: T1006

Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 90825
Nessus Name: Ubuntu 15.10 : php5 regression (USN-2952-2)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 64737
OpenVAS Name: Ubuntu Update for php5 USN-2952-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.6.13/5.5.29/5.4.45
Patch: github.com

Timelineinfo

09/01/2015 🔍
03/15/2016 +197 days 🔍
03/16/2016 +0 days 🔍
03/18/2016 +2 days 🔍
04/27/2016 +39 days 🔍
05/02/2016 +5 days 🔍
05/21/2016 +19 days 🔍
07/10/2022 +2241 days 🔍

Sourcesinfo

Product: php.org

Advisory: USN-2952-2
Researcher: Neal
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-9767 (🔍)
X-Force: 111541 - PHP ZipArchive::extractTo directory traversal
SecurityTracker: 1035311
SecurityFocus: 76652 - PHP 'php_zip.c' Directory Traversal Vulnerability

See also: 🔍

Entryinfo

Created: 03/18/2016 09:03
Updated: 07/10/2022 14:42
Changes: 03/18/2016 09:03 (69), 09/05/2018 08:42 (14), 07/10/2022 14:33 (6), 07/10/2022 14:37 (1), 07/10/2022 14:42 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!