In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.
In short
CVE-2019-11043 (PHP FastCGI Process Manager (FPM) Buffer Overflow) has a CVSS 3.1 base score of 8.7, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022, and it has been used in ransomware campaigns. Fixed in PHP 7.1.33, Tenable Tenable.sc 5.19.0 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NAffected products
- PHP≥ 7.1.0 < 7.1.33 · ≥ 7.2.0 < 7.2.24 · ≥ 7.3.0 < 7.3.11
- Redhat Software Collections1.0
- Tenable Tenable.sc< 5.19.0
- Canonical Ubuntu Linux12.04 · 14.04 · 16.04 · 18.04
- Debian Linux10.0 · 9.0
- Fedoraproject Fedora29 · 30 · 31
- Redhat Enterprise Linux8.0
- Redhat Enterprise Linux Desktop6.0 · 7.0
- Redhat Enterprise Linux Eus7.7 · 8.1 · 8.2 · 8.4
- Redhat Enterprise Linux Eus Compute Node7.7
- Redhat Enterprise Linux For Arm 648.0_aarch64
- Redhat Enterprise Linux For Arm 64 Eus8.1_aarch64 · 8.2_aarch64 · 8.4_aarch64 · 8.6_aarch64
- Redhat Enterprise Linux For Ibm Z Systems6.0_s390x · 7.0_s390x · 8.0_s390x
- Redhat Enterprise Linux For Ibm Z Systems Eus7.7_s390x · 8.1_s390x · 8.2_s390x · 8.4_s390x
- Redhat Enterprise Linux For Power Big Endian6.0_ppc64 · 7.0_ppc64
- Redhat Enterprise Linux For Power Big Endian Eus7.7_ppc64
- Redhat Enterprise Linux For Power Little Endian7.0_ppc64le · 8.0_ppc64le
- Redhat Enterprise Linux For Power Little Endian Eus7.7_ppc64le · 8.1_ppc64le · 8.2_ppc64le · 8.4_ppc64le
- Redhat Enterprise Linux For Scientific Computing7.0
- Redhat Enterprise Linux Server6.0 · 7.0
- Redhat Enterprise Linux Server Aus7.7 · 8.2 · 8.4 · 8.6
- Redhat Enterprise Linux Server Tus7.7 · 8.2 · 8.4 · 8.6
- Redhat Enterprise Linux Workstation6.0 · 7.0
Remediation
Fixed in- PHP≥ 7.1.33
- Tenable Tenable.sc≥ 5.19.0
References
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html
- http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html
- https://access.redhat.com/errata/RHSA-2019:3286
- https://access.redhat.com/errata/RHSA-2019:3287
- https://access.redhat.com/errata/RHSA-2019:3299
- https://access.redhat.com/errata/RHSA-2019:3300
- https://access.redhat.com/errata/RHSA-2019:3724
- https://access.redhat.com/errata/RHSA-2019:3735
- https://access.redhat.com/errata/RHSA-2019:3736
and 18 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
