PHP up to 5.6.39/7.1.25/7.2.13/7.3.0 Regular Expression regcomp.c out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in PHP up to 5.6.39/7.1.25/7.2.13/7.3.0. This vulnerability affects unknown code of the file ext/mbstring/oniguruma/regcomp.c of the component Regular Expression. The manipulation results in out-of-bounds. This vulnerability is reported as CVE-2019-9023. The attack can be launched remotely. No exploit exists. You should upgrade the affected component.
Details
A vulnerability classified as critical has been found in PHP up to 5.6.39/7.1.25/7.2.13/7.3.0 (Programming Language Software). Affected is some unknown functionality of the file ext/mbstring/oniguruma/regcomp.c of the component Regular Expression. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expression functions when supplied with invalid multibyte data. These occur in ext/mbstring/oniguruma/regcomp.c, ext/mbstring/oniguruma/regexec.c, ext/mbstring/oniguruma/regparse.c, ext/mbstring/oniguruma/enc/unicode.c, and ext/mbstring/oniguruma/src/utf32_be.c when a multibyte regular expression pattern contains invalid multibyte sequences.
The bug was discovered 02/22/2019. The weakness was disclosed 02/22/2019 (Website). The advisory is shared for download at securityfocus.com. This vulnerability is traded as CVE-2019-9023 since 02/22/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 176624 (Debian Security Update for php7.0 (DSA 4398-1)).
Upgrading to version 5.6.40, 7.1.26, 7.2.14 or 7.3.1 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 107156†). The entries VDB-131077, VDB-131109, VDB-131110 and VDB-131111 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
- 5.6.10
- 5.6.11
- 5.6.12
- 5.6.13
- 5.6.14
- 5.6.15
- 5.6.16
- 5.6.17
- 5.6.18
- 5.6.19
- 5.6.20
- 5.6.21
- 5.6.22
- 5.6.23
- 5.6.24
- 5.6.25
- 5.6.26
- 5.6.27
- 5.6.28
- 5.6.29
- 5.6.30
- 5.6.31
- 5.6.32
- 5.6.33
- 5.6.34
- 5.6.35
- 5.6.36
- 5.6.37
- 5.6.38
- 5.6.39
- 7.0
- 7.1
- 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
- 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
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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 5.6.40/7.1.26/7.2.14/7.3.1
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-9023 (🔍)
GCVE (CVE): GCVE-0-2019-9023
GCVE (VulDB): GCVE-100-131112
SecurityFocus: 107156 - PHP Information Disclosure and Heap Buffer Overflow Vulnerabilities
See also: 🔍
Entry
Created: 02/23/2019 08:00Updated: 07/19/2023 09:15
Changes: 02/23/2019 08:00 (61), 05/12/2020 10:09 (5), 07/19/2023 09:15 (4)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.