PHP up to 7.2.8/7.3.15/7.4.3 URL get_headers null termination

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.
5.9$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in PHP up to 7.2.8/7.3.15/7.4.3. This vulnerability affects the function get_headers of the component URL Handler. This manipulation causes null termination. This vulnerability is registered as CVE-2020-7066. Remote exploitation of the attack is possible. No exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP up to 7.2.8/7.3.15/7.4.3 (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function get_headers of the component URL Handler. The manipulation with an unknown input leads to a null termination vulnerability. The CWE definition for the vulnerability is CWE-170. The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.

The weakness was published 04/01/2020. This vulnerability is known as CVE-2020-7066 since 01/15/2020. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

Upgrading to version 7.2.9, 7.3.16 or 7.4.4 eliminates this vulnerability.

Similar entries are available at VDB-152484 and VDB-152483. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 5.9

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.3
NVD Vector: 🔍

CNA Base Score: 5.3
CNA Vector (PHP Group): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Null termination
CWE: CWE-170 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 7.2.9/7.3.16/7.4.4

Timelineinfo

01/15/2020 🔍
04/01/2020 +77 days 🔍
04/01/2020 +0 days 🔍
05/12/2024 +1502 days 🔍

Sourcesinfo

Product: php.org

Advisory: 79329
Status: Not defined
Confirmation: 🔍

CVE: CVE-2020-7066 (🔍)
GCVE (CVE): GCVE-0-2020-7066
GCVE (VulDB): GCVE-100-152485
See also: 🔍

Entryinfo

Created: 04/01/2020 08:37
Updated: 05/12/2024 17:49
Changes: 04/01/2020 08:37 (38), 04/01/2020 08:42 (12), 10/05/2020 15:46 (1), 12/02/2021 12:46 (5), 05/12/2024 17:42 (17), 05/12/2024 17:49 (20)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!