PHP up to 7.1.25/7.2.13/7.3.1 DNS Response ext/standard/dns.c dns_get_record out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in PHP up to 7.1.25/7.2.13/7.3.1. This affects the function dns_get_record of the file ext/standard/dns.c of the component DNS Response Handler. The manipulation leads to out-of-bounds.
This vulnerability is documented as CVE-2019-9022. The attack can be initiated remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in PHP up to 7.1.25/7.2.13/7.3.1 (Programming Language Software). It has been rated as critical. This issue affects the function dns_get_record of the file ext/standard/dns.c of the component DNS Response Handler. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses a DNS response, which can allow a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data. This affects php_parserr in ext/standard/dns.c for DNS_CAA and DNS_ANY queries.
The bug was discovered 02/22/2019. The weakness was released 02/22/2019 (Website). It is possible to read the advisory at debian.org. The identification of this vulnerability is CVE-2019-9022 since 02/22/2019. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The commercial vulnerability scanner Qualys is able to test this issue with plugin 176624 (Debian Security Update for php7.0 (DSA 4398-1)).
Upgrading to version 7.1.26, 7.2.14 or 7.3.2 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 107156†). Entries connected to this vulnerability are available at VDB-131077, VDB-131109, VDB-131110 and VDB-131112. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 7.1.0
- 7.1.1
- 7.1.2
- 7.1.3
- 7.1.4
- 7.1.5
- 7.1.6
- 7.1.7
- 7.1.8
- 7.1.9
- 7.1.10
- 7.1.11
- 7.1.12
- 7.1.13
- 7.1.14
- 7.1.15
- 7.1.16
- 7.1.17
- 7.1.18
- 7.1.19
- 7.1.20
- 7.1.21
- 7.1.22
- 7.1.23
- 7.1.24
- 7.1.25
- 7.2.0
- 7.2.1
- 7.2.2
- 7.2.3
- 7.2.4
- 7.2.5
- 7.2.6
- 7.2.7
- 7.2.8
- 7.2.9
- 7.2.10
- 7.2.11
- 7.2.12
- 7.2.13
- 7.3.0
- 7.3.1
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
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: Out-of-boundsCWE: CWE-125 / 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.1.26/7.2.14/7.3.2
Timeline
02/22/2019 🔍02/22/2019 🔍
02/22/2019 🔍
02/22/2019 🔍
02/23/2019 🔍
07/19/2023 🔍
Sources
Product: php.orgAdvisory: RHSA-2019:2519
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2019-9022 (🔍)
GCVE (CVE): GCVE-0-2019-9022
GCVE (VulDB): GCVE-100-131111
SecurityFocus: 107156 - PHP Information Disclosure and Heap Buffer Overflow Vulnerabilities
See also: 🔍
Entry
Created: 02/23/2019 08:00Updated: 07/19/2023 09:11
Changes: 02/23/2019 08:00 (62), 05/12/2020 10:02 (5), 07/19/2023 09:11 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.