CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
Check your servers for CVE-2019-11043
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-11043 affects php, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 25 Mar 2022. US federal agencies had to act by 15 Apr 2022.
- Name
- PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Known to be used in ransomware campaigns
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2019-11043
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 7 Feb 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-120 Buffer Copy without Checking Size of Input
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| PHP |
affected from 7.1.x, before 7.1.33 affected from 7.2.x, before 7.2.24 affected from 7.3.x, before 7.3.11
|
Is my server affected?
Find the installed version of php and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i php
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-11043 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-11043RHEL, Rocky, Alma, Fedora
rpm -q php
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-11043Alpine
apk list --installed | grep -i phpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-11043
trivy image --scanners vuln IMAGE | grep CVE-2019-11043
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugs.php.net/bug.php?id=78599 bugs.php.net
- USN-4166-1 usn.ubuntu.com · vendor advisory
- DSA-4552 debian.org · vendor advisory
- DSA-4553 debian.org · vendor advisory
- USN-4166-2 usn.ubuntu.com · vendor advisory
- https://support.f5.com/csp/article/K75408500?utm_source=f5support&%3Butm_medium=RSS support.f5.com
- FEDORA-2019-4adc49a476 lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20191031-0003/ security.netapp.com
- RHSA-2019:3286 access.redhat.com · vendor advisory
- RHSA-2019:3287 access.redhat.com · vendor advisory
- RHSA-2019:3299 access.redhat.com · vendor advisory
- RHSA-2019:3300 access.redhat.com · vendor advisory
12 more
- FEDORA-2019-187ae3128d lists.fedoraproject.org · vendor advisory
- FEDORA-2019-7bb07c3b02 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2019:2441 lists.opensuse.org · vendor advisory
- RHSA-2019:3724 access.redhat.com · vendor advisory
- RHSA-2019:3735 access.redhat.com · vendor advisory
- RHSA-2019:3736 access.redhat.com · vendor advisory
- https://www.synology.com/security/advisory/Synology_SA_19_36 synology.com
- openSUSE-SU-2019:2457 lists.opensuse.org · vendor advisory
- https://support.apple.com/kb/HT210919 support.apple.com
- RHSA-2020:0322 access.redhat.com · vendor advisory
- https://www.tenable.com/security/tns-2021-14 tenable.com
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043 cisa.gov · government resource
Other references
- https://github.com/neex/phuip-fpizdam github.com
- 20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High… seclists.org · mailing list
- 20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High… seclists.org · mailing list
- http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html packetstormsecurity.com
Source: the record CVE-2019-11043 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse