PHP up to 7.1.26/7.2.15/7.3.2 EXIF exif_process_IFD_in_MAKERNOTE value_len memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in PHP up to 7.1.26/7.2.15/7.3.2. Impacted is the function exif_process_IFD_in_MAKERNOTE of the component EXIF. The manipulation of the argument value_len results in memory corruption.
This vulnerability is reported as CVE-2019-9638. The attack can be launched remotely. No exploit exists.
You should upgrade the affected component.
Details
A vulnerability was found in PHP up to 7.1.26/7.2.15/7.3.2 (Programming Language Software). It has been classified as critical. Affected is the function exif_process_IFD_in_MAKERNOTE of the component EXIF. The manipulation of the argument value_len with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality. CVE summarizes:
An issue was discovered in the EXIF component in PHP before 7.1.27, 7.2.x before 7.2.16, and 7.3.x before 7.3.3. There is an uninitialized read in exif_process_IFD_in_MAKERNOTE because of mishandling the maker_note->offset relationship to value_len.
The bug was discovered 03/12/2019. The weakness was disclosed 03/09/2019 (Website). The advisory is shared for download at debian.org. This vulnerability is traded as CVE-2019-9638 since 03/08/2019. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.
The commercial vulnerability scanner Qualys is able to test this issue with plugin 197405 (Ubuntu Security Notification for Php7.0, Php7.2 Vulnerabilities (USN-3922-1)).
Upgrading to version 7.1.27, 7.2.16 or 7.3.3 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 108177†). The entries VDB-131531, VDB-131533, VDB-131534 and VDB-131535 are pretty similar. Once again VulDB remains the best 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.1.26
- 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.2.14
- 7.2.15
- 7.3.0
- 7.3.1
- 7.3.2
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
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: Memory corruptionCWE: 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.27/7.2.16/7.3.3
Timeline
03/08/2019 🔍03/09/2019 🔍
03/09/2019 🔍
03/12/2019 🔍
04/29/2019 🔍
07/31/2023 🔍
Sources
Product: php.orgAdvisory: RHSA-2019:2519
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2019-9638 (🔍)
GCVE (CVE): GCVE-0-2019-9638
GCVE (VulDB): GCVE-100-131532
SecurityFocus: 108177 - PHP 'ext/exif/exif.c' Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 03/09/2019 12:08Updated: 07/31/2023 09:13
Changes: 03/09/2019 12:08 (62), 05/15/2020 10:01 (5), 07/31/2023 09:13 (4)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.