CVE-2019-11043highunder attackransomwareCWE-120

CVE-2019-11043: high-severity vulnerability in PHP

Underflow in PHP-FPM can lead to RCE

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 8.7epss 100%
from disclosure to weaponsame day
Published on NVDOct 28
1st PoCSep 23
metasploitOct 22
CISA KEV+879d
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
27 products (2,529 components)
Red Hat Enterprise Linux AppStream (v. 8) · Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) · Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) · Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) · Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) · and others 22
Not affected
2 products (32 components) — because the vulnerable code is not present in the product
Red Hat Software Collections · Red Hat Enterprise Linux 5
Action required by CISAfederal deadline: 2022-04-15

Apply updates per vendor instructions.

In short

A memory overflow flaw in PHP-FPM allows attackers to write beyond allocated memory limits, potentially enabling them to execute arbitrary code remotely on affected servers running vulnerable PHP versions.

Technical detail

An underflow vulnerability in PHP-FPM (CWE-120) permits writes past allocated buffer boundaries into FCGI protocol space under specific FPM configurations. The attack vector is network-based through FCGI requests, affecting PHP 7.1.x < 7.3.11, 7.2.x < 7.2.24, and 7.3.x < 7.3.11, with impact of remote code execution.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Affected products
PHP · PHP
public PoCs found — 54✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/48182exploitdbwww.exploit-db.com/exploits/47553unverifiedgithubgithub.com/neex/phuip-fpizdam★ 1837githubgithub.com/theMiddleBlue/CVE-2019-11043★ 147githubgithub.com/jas502n/CVE-2019-11043★ 105githubgithub.com/akamajoris/CVE-2019-11043-Docker★ 27githubgithub.com/k8gege/CVE-2019-11043★ 16githubgithub.com/kriskhub/CVE-2019-11043★ 14githubgithub.com/0th3rs-Security-Team/CVE-2019-11043★ 14githubgithub.com/ypereirareis/docker-CVE-2019-11043★ 8githubgithub.com/huowen/CVE-2019-11043★ 5githubgithub.com/lindemer/CVE-2019-11043★ 4githubgithub.com/AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-★ 4githubgithub.com/CodeHex083/phuip-fpizdam★ 3githubgithub.com/MRdoulestar/CVE-2019-11043★ 3githubgithub.com/jptr218/php_hack★ 2githubgithub.com/fairyming/CVE-2019-11043★ 1githubgithub.com/moniik/CVE-2019-11043_env★ 1githubgithub.com/esskslifetech/php-secure-patch★ 1githubgithub.com/esskslifetech/PROTECTION2Shell★ 1githubgithub.com/shadow-horse/cve-2019-11043★ 1githubgithub.com/MagentaBear/CVE-2019-11043-Vulnerability★ 0githubgithub.com/jas9reet/CVE-2019-11043★ 0githubgithub.com/ianxtianxt/CVE-2019-11043★ 0githubgithub.com/alokaranasinghe/cve-2019-11043★ 0githubgithub.com/corifeo/CVE-2019-11043★ 0githubgithub.com/bayazid-bit/CVE-2019-11043★ 0githubgithub.com/B1gd0g/CVE-2019-11043★ 0githubgithub.com/tinker-li/CVE-2019-11043★ 0githubgithub.com/CyberCTF/vulhub-php-cve-2019-11043★ 0githubgithub.com/gon905332-jpg/cve-2019-11043.py★ 0githubgithub.com/AndrewMas99/CVE-2019-11043-Vulnerability★ 0githubgithub.com/a1ex-var1amov/ctf-cve-2019-11043★ 0vulncheckvulncheck.com/xdb/17d9321b8fd7unverifiedvulncheckvulncheck.com/xdb/5d7564d7c174unverifiedvulncheckvulncheck.com/xdb/5fa11c5956d1unverifiedvulncheckvulncheck.com/xdb/83bee4298642unverifiedvulncheckvulncheck.com/xdb/78cf4dd16e8cunverifiedvulncheckvulncheck.com/xdb/51adef4c9756unverifiedvulncheckvulncheck.com/xdb/8ca4fc37944eunverifiedvulncheckvulncheck.com/xdb/91fc59b00456unverifiedvulncheckvulncheck.com/xdb/1de02e031a87unverifiedvulncheckvulncheck.com/xdb/71b7cfe27514unverifiedvulncheckvulncheck.com/xdb/3430044ed268unverifiedvulncheckvulncheck.com/xdb/095460149708unverifiedvulncheckvulncheck.com/xdb/37f204247f88unverifiedvulncheckvulncheck.com/xdb/927a33704d7bunverifiedvulncheckvulncheck.com/xdb/ce4ae09a0ce3unverifiedvulncheckvulncheck.com/xdb/9493124c9054unverifiedvulncheckvulncheck.com/xdb/20a6f27a3eddunverifiedcve_referencepacketstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.htmlunverifiedvulncheckvulncheck.com/xdb/7661c1eea5eeunverifiedvulncheckvulncheck.com/xdb/b77e1a4b74e5unverifiedvulncheckvulncheck.com/xdb/3b95194461e6unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — PHP

In the same product, most dangerous first.