← back
CVE-2019-11043

Underflow in PHP-FPM can lead to RCE

CVSS 8.7 HIGHEPSS 99.5%● KEVCWE-120
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.
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 found30
githubgithub.com/neex/phuip-fpizdam1835githubgithub.com/theMiddleBlue/CVE-2019-11043146githubgithub.com/jas502n/CVE-2019-11043105githubgithub.com/akamajoris/CVE-2019-11043-Docker27githubgithub.com/k8gege/CVE-2019-1104316githubgithub.com/kriskhub/CVE-2019-1104314githubgithub.com/0th3rs-Security-Team/CVE-2019-1104314githubgithub.com/ypereirareis/docker-CVE-2019-110438githubgithub.com/huowen/CVE-2019-110435githubgithub.com/AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-4githubgithub.com/lindemer/CVE-2019-110434githubgithub.com/CodeHex083/phuip-fpizdam3githubgithub.com/MRdoulestar/CVE-2019-110433githubgithub.com/jptr218/php_hack2githubgithub.com/fairyming/CVE-2019-110431githubgithub.com/moniik/CVE-2019-11043_env1githubgithub.com/shadow-horse/cve-2019-110431githubgithub.com/jas9reet/CVE-2019-110430githubgithub.com/B1gd0g/CVE-2019-110430githubgithub.com/tinker-li/CVE-2019-110430githubgithub.com/ianxtianxt/CVE-2019-110430githubgithub.com/alokaranasinghe/cve-2019-110430githubgithub.com/corifeo/CVE-2019-110430githubgithub.com/bayazid-bit/CVE-2019-110430githubgithub.com/a1ex-var1amov/ctf-cve-2019-110430githubgithub.com/AndrewMas99/CVE-2019-11043-Vulnerability0githubgithub.com/gon905332-jpg/cve-2019-11043.py0exploitdbwww.exploit-db.com/exploits/47553unverifiedcve_referencepacketstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.htmlunverifiedexploitdbwww.exploit-db.com/exploits/48182unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →