CVE-2019-11043

Known Exploited Public Exploit
Underflow in PHP-FPM can lead to RCE

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.

Remediation

Workaround:

  • 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.

Categories

8.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 94.11% Top 5%
KEV Since 
Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory fedoraproject.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory php.net
Affected: PHP PHP
Published at:
Updated at:

References

Link Tags
https://github.com/neex/phuip-fpizdam exploit third party advisory
https://bugs.php.net/bug.php?id=78599 patch issue tracking exploit vendor advisory
https://usn.ubuntu.com/4166-1/ vendor advisory third party advisory
https://www.debian.org/security/2019/dsa-4552 third party advisory vendor advisory mailing list
https://www.debian.org/security/2019/dsa-4553 third party advisory vendor advisory mailing list
https://usn.ubuntu.com/4166-2/ vendor advisory third party advisory
https://support.f5.com/csp/article/K75408500?utm_source=f5support&%3Butm_medium=RSS third party advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/ third party advisory vendor advisory mailing list
https://security.netapp.com/advisory/ntap-20191031-0003/ third party advisory
https://access.redhat.com/errata/RHSA-2019:3286 vendor advisory third party advisory
https://access.redhat.com/errata/RHSA-2019:3287 vendor advisory third party advisory
https://access.redhat.com/errata/RHSA-2019:3299 vendor advisory third party advisory
https://access.redhat.com/errata/RHSA-2019:3300 vendor advisory third party advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/ third party advisory vendor advisory mailing list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/ third party advisory vendor advisory mailing list
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html third party advisory vendor advisory mailing list
https://access.redhat.com/errata/RHSA-2019:3724 vendor advisory third party advisory
https://access.redhat.com/errata/RHSA-2019:3735 vendor advisory third party advisory
https://access.redhat.com/errata/RHSA-2019:3736 vendor advisory third party advisory
https://www.synology.com/security/advisory/Synology_SA_19_36 third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html third party advisory vendor advisory mailing list
https://support.apple.com/kb/HT210919 third party advisory
https://seclists.org/bugtraq/2020/Jan/44 third party advisory mailing list
http://seclists.org/fulldisclosure/2020/Jan/40 third party advisory mailing list
https://access.redhat.com/errata/RHSA-2020:0322 vendor advisory third party advisory
http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html third party advisory exploit vdb entry
https://www.tenable.com/security/tns-2021-14 third party advisory

Frequently Asked Questions

What is the severity of CVE-2019-11043?
CVE-2019-11043 has been scored as a high severity vulnerability.
How to fix CVE-2019-11043?
As a workaround for remediating CVE-2019-11043: 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.
Is CVE-2019-11043 being actively exploited in the wild?
It is confirmed that CVE-2019-11043 is actively exploited. Be extra cautious if you are using vulnerable components. According to its EPSS score, there is a ~94% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2019-11043?
CVE-2019-11043 affects PHP PHP.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.