CVE-2019-11043
High 8.7KEV · exploitedPublic exploit ×2Fix availableUnderflow in PHP-FPM can lead to RCE
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1681 days ago for U.S. federal agencies
Description
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.
Weakness: CWE-120
Patching and mitigation
- Patch status
- Fix available (source: CVE record (php))
- Fix documented (source date)
- Mitigation
- Configuring nginx (or other server that implements the front-end part of the FPM protocol) to check for the existence of the target file before passing it to PHP FPM (e.g. "try_files $uri =404" or "if (-f $uri)" in nginx) for would prevent this vulnerability from happening. Source (opens in a new tab)
- Vendor guidance
- usn.ubuntu.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| PHP | FastCGI Process Manager (FPM) | Not documented | Not documented | CISA KEV |
| PHP | PHP | from 7.1.x before 7.1.33 | 7.1.33 | CVE Program |
| PHP | PHP | from 7.2.x before 7.2.24 | 7.2.24 | CVE Program |
| PHP | PHP | from 7.3.x before 7.3.11 | 7.3.11 | CVE Program |
Timeline
Disclosure
CVE record published by php
Source: CVE Program (opens in a new tab)
25 Mar 2022KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
25 Mar 2022Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (php)
Vendor guidance and references
- openSUSE-SU-2019:2441 (opens in a new tab)vendor-advisory, x_refsource_suse, x_transferred
- openSUSE-SU-2019:2457 (opens in a new tab)vendor-advisory, x_refsource_suse, x_transferred
- RHSA-2019:3286 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3287 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3299 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3300 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3724 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3735 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2019:3736 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- RHSA-2020:0322 (opens in a new tab)vendor-advisory, x_refsource_redhat, x_transferred
- FEDORA-2019-187ae3128d (opens in a new tab)vendor-advisory, x_refsource_fedora, x_transferred
- FEDORA-2019-7bb07c3b02 (opens in a new tab)vendor-advisory, x_refsource_fedora, x_transferred
- FEDORA-2019-4adc49a476 (opens in a new tab)vendor-advisory, x_refsource_fedora, x_transferred
- USN-4166-1 (opens in a new tab)vendor-advisory, x_refsource_ubuntu, x_transferred
- USN-4166-2 (opens in a new tab)vendor-advisory, x_refsource_ubuntu, x_transferred
- DSA-4552 (opens in a new tab)vendor-advisory, x_refsource_debian, x_transferred
- DSA-4553 (opens in a new tab)vendor-advisory, x_refsource_debian, x_transferred
- 20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra (opens in a new tab)mailing-list, x_refsource_fulldisc, x_transferred
- https://bugs.php.net/bug.php?id=78599 (opens in a new tab)x_refsource_confirm, x_transferred
- https://github.com/neex/phuip-fpizdam (opens in a new tab)x_refsource_misc, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2019-11043 (opens in a new tab)government
- 20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra (opens in a new tab)mailing-list, x_refsource_bugtraq, x_transferred
- https://security.netapp.com/advisory/ntap-20191031-0003/ (opens in a new tab)x_refsource_confirm, x_transferred
- https://support.apple.com/kb/HT210919 (opens in a new tab)x_refsource_confirm, x_transferred
- https://support.f5.com/csp/article/K75408500?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_confirm, x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043 (opens in a new tab)government-resource
- https://www.synology.com/security/advisory/Synology_SA_19_36 (opens in a new tab)x_refsource_confirm, x_transferred
- https://www.tenable.com/security/tns-2021-14 (opens in a new tab)x_refsource_confirm, x_transferred
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.
- Exploit-DB 47553 (verified) (opens in a new tab)2 entries on Exploit-DB