PHP up to 7.1.32 FPM fpm_main.c env_path_info Underflow out-of-bounds write
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.4 | $0-$5k | 0.00 |
A vulnerability was found in PHP up to 7.1.32 (Programming Language Software). It has been classified as critical. This affects the function env_path_info
of the file fpm_main.c of the component FPM. The manipulation with an unknown input leads to a out-of-bounds write vulnerability (Underflow). CWE is classifying the issue as CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.
The weakness was released 10/24/2019 as Version 7.1.33 as confirmed changelog (Website). It is possible to read the advisory at php.net. This vulnerability is uniquely identified as CVE-2019-11043. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
After 2 days, there has been an exploit disclosed. The exploit is shared for download at bugs.php.net. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The CISA Known Exploited Vulnerabilities Catalog lists this issue since 03/25/2022 with a due date of 04/15/2022:
Apply updates per vendor instructions.
Upgrading to version 7.1.33 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
Further details are available at bugs.php.net.
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.1.27
- 7.1.28
- 7.1.29
- 7.1.30
- 7.1.31
- 7.1.32
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.6VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 8.7
CNA Vector (PHP Group): 🔍
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
Name: UnderflowClass: Out-of-bounds write / Underflow
CWE: CWE-787 / CWE-119
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: PHP 7.1.33
Timeline
04/09/2019 🔍10/24/2019 🔍
10/24/2019 🔍
10/26/2019 🔍
10/26/2019 🔍
01/29/2024 🔍
Sources
Product: php.orgAdvisory: Version 7.1.33
Status: Confirmed
CVE: CVE-2019-11043 (🔍)
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
Entry
Created: 10/26/2019 15:59Updated: 01/29/2024 09:46
Changes: 10/26/2019 15:59 (50), 10/26/2019 16:04 (17), 01/29/2024 09:41 (4), 01/29/2024 09:46 (12)
Complete: 🔍
Submitter: misc
Submit
Accepted
- Submit #110: PHP-FPM env_path_info underflow in fpm_main.c can lead to RCE (by misc)
No comments yet. Languages: en.
Please log in to comment.