PHP
Underflow in PHP-FPM can lead to RCE
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.
Timeline
Days relative to CVE publicationFirst public PoC 4.4 days before publication; added to CISA KEV 2.4 years after publication. First PoC: AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043- (created 24 Oct 2019, found by us: backfilled).
PoC repositories
Found on GitHub.24 PoCs · 3 pending · 4 informational · 3 suspicious or fake
PoCs 24
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| neex/phuip-fpizdam | 23 Sep 2019 −35 d | 1,838 | PoC older repo: PoC date unknown, not used for the first PoC |
| AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043- | 24 Oct 2019 −4.4 d | 4 | PoC |
| fairyming/CVE-2019-11043 | 24 Oct 2019 −4.2 d | 1 | PoC |
| akamajoris/CVE-2019-11043-Docker | 24 Oct 2019 −4.1 d | 27 | PoC via PoC Index |
| theMiddleBlue/CVE-2019-11043 | 28 Oct 2019 −3 h | 147 | PoC |
| shadow-horse/cve-2019-11043 | 28 Oct 2019 +1 h | 1 | PoC |
| huowen/CVE-2019-11043 | 29 Oct 2019 +21 h | 5 | PoC |
| ypereirareis/docker-CVE-2019-11043 | 30 Oct 2019 +1.8 d | 8 | PoC |
| MRdoulestar/CVE-2019-11043 | 6 Nov 2019 +9 d | 3 | PoC |
| 0th3rs-Security-Team/CVE-2019-11043 | 6 Nov 2019 +9.1 d | 14 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| k8gege/CVE-2019-11043 | 11 Nov 2019 +14 d | 16 | PoC |
| moniik/CVE-2019-11043_env | 17 Nov 2019 +20 d | 1 | PoC via PoC Index |
| kriskhub/CVE-2019-11043 | 5 May 2020 +190 d | 14 | PoC |
| corifeo/CVE-2019-11043 | 13 Jul 2020 +259 d | 0 | PoC |
| lindemer/CVE-2019-11043 | 18 Nov 2020 +1.1 y | 4 | PoC |
| aaron3238/phpfpmexploit | 27 Apr 2021 +1.5 y | 0 | PoC |
| jptr218/php_hack | 10 Aug 2021 +1.8 y | 2 | PoC |
| ilikemunchingonwillys/kkk | 1 Mar 2022 +2.3 y | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| jas9reet/CVE-2019-11043 | 4 Mar 2022 +2.3 y | 0 | PoC |
| bayazid-bit/CVE-2019-11043 | 19 Jun 2025 +5.6 y | 0 | PoC |
| bayazid-bit/CVE-2019-11043- | 19 Jun 2025 +5.6 y | 0 | PoC |
| CodeHex083/phuip-fpizdam | 24 Oct 2025 +6.0 y | 3 | PoC |
| gon905332-jpg/cve-2019-11043.py | 12 Dec 2025 +6.1 y | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| CyberCTF/vulhub-php-cve-2019-11043 | 8 Oct 2026 +6.9 y | 0 | PoC |
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| MagentaBear/CVE-2019-11043-Vulnerability | 28 Nov 2025 +6.1 y | 0 | Pending · repository exceeds size limit via PoC Index |
| QmFkLVBp/WibeH4Ck | unknown | 0 | Pending · repository unavailable (HTTP 404) via PoC Index · not checked yet |
| a1ex-var1amov/ctf-cve-2019-11043 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 4
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| B1gd0g/CVE-2019-11043 | 23 Oct 2019 −5 d | backfilled | 0 | Informational · write-up |
| tinker-li/CVE-2019-11043 | 23 Oct 2019 −5 d | backfilled | 0 | Informational · write-up |
| alokaranasinghe/cve-2019-11043 | 12 May 2020 +197 d | backfilled | 0 | Informational · write-up |
| esskslifetech/php-secure-patch | 31 Oct 2026 +7.0 y | 14 Nov 2026 | 1 | Informational · list |
Suspicious or fake 3
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| jas502n/CVE-2019-11043 | 23 Oct 2019 −4.6 d | backfilled | 105 | Fake |
| ianxtianxt/CVE-2019-11043 | 24 Oct 2019 −4.2 d | backfilled | 0 | Fake |
| esskslifetech/PROTECTION2Shell | 1 Nov 2026 +7.0 y | 14 Nov 2026 | 1 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | PHP-FPM + Nginx - Remote Code Execution | 28 Oct 2019 | 14 Nov 2026 |
| Exploit-DB | PHP-FPM - Underflow Remote Code Execution (Metasploit) | 9 Mar 2020 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: PHP-FPM Underflow RCE (exploit/multi/http/php_fpm_rce) | 20 Jan 2020 | 14 Nov 2026 |
| nuclei template | nuclei template: PHP-FPM Path Info Buffer Underflow - Remote Code Execution | 14 Jul 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 24 PoC reposGET /PHP_VALUE%0Asession.auto_start=0;;;
- Query
{var}=- Key headers
Foo: {var}Hash_strndup: tudda nwsec" # qazxs edcvfHash_strndup: qazxs edcvfTud: {var}- Ports
- 11043
- PoC User-Agent
CVE-2019-11043- Seen in
- 2 repos: kriskhub/CVE-2019-11043, theMiddleBlue/CVE-2019-11043
- Evidence
- kriskhub/CVE-2019-11043/exploit.py:147 theMiddleBlue/CVE-2019-11043/exploit.py:131
GET /PHP_VALUE%0Asession.auto_start=1;;;
- Query
{var}=- Key headers
Foo: {var}Hash_strndup: tudda nwsec" # qazxs edcvfHash_strndup: qazxs edcvfTud: {var}- Ports
- 11043
- PoC User-Agent
CVE-2019-11043- Seen in
- 2 repos: kriskhub/CVE-2019-11043, theMiddleBlue/CVE-2019-11043
- Evidence
- kriskhub/CVE-2019-11043/exploit.py:101 theMiddleBlue/CVE-2019-11043/exploit.py:74 theMiddleBlue/CVE-2019-11043/exploit.py:85
GET /PHP_VALUE%0asession.auto_start=1;;;
- Query
{var}=- Key headers
# "host": 10.211.55.6Accept: {var}D-Gisos:Ebut: mamku tvoyu- PoC User-Agent
Mozilla/5.0- Seen in
- 2 repos: 0th3rs-Security-Team/CVE-2019-11043, MRdoulestar/CVE-2019-11043
- Evidence
- 0th3rs-Security-Team/CVE-2019-11043/cve_2019_11043.py:79 0th3rs-Security-Team/CVE-2019-11043/cve_2019_11043.py:90 0th3rs-Security-Team/CVE-2019-11043/cve_2019_11043.py:115 0th3rs-Security-Team/CVE-2019-11043/cve_2019_11043.py:117 0th3rs-Security-Team/CVE-2019-11043/cve_2019_11043.py:125 MRdoulestar/CVE-2019-11043/cve_2019_11043.py:79
GET /index.php
- Query
a=bin/ls /a= sleep 5 /- Ports
- 11043
- Seen in
- 2 repos: kriskhub/CVE-2019-11043, theMiddleBlue/CVE-2019-11043
- Evidence
- kriskhub/CVE-2019-11043/README.md:78 kriskhub/CVE-2019-11043/README.md:80 theMiddleBlue/CVE-2019-11043/README.md:30
GET /
- Key headers
D-Pisos: 8=DEbut: mamku tvoyu- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-
- Evidence
- AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-/CVE-2019-11043.py:25
GET /PHP%0ABonusChallengeExploits.php
- Query
{var}=- Key headers
Ebut: tudda nwsec" # hash_strndup hash collision with PHP_VALUE when appended to HTTP_*Tud: A- Ports
- 11043
- PoC User-Agent
CVE-2019-11043- Seen in
- 1 repo: kriskhub/CVE-2019-11043
- Evidence
- kriskhub/CVE-2019-11043/exploit.py:65
GET /PHP%0Ainfooooooooooooooooooo.php
- Query
{var}=- Key headers
Foo: AHash_strndup: qazxs edcvf- PoC User-Agent
CVE-2019-11043- Seen in
- 1 repo: theMiddleBlue/CVE-2019-11043
- Evidence
- theMiddleBlue/CVE-2019-11043/exploit.py:58
GET /PHP_VALUE%0A{var}
- Query
a=/bin/sh -c 'which which'{var}=- Key headers
Ebut: qazxs edcvfFoo: {var}- PoC User-Agent
CVE-2019-11043- Seen in
- 1 repo: theMiddleBlue/CVE-2019-11043
- Evidence
- theMiddleBlue/CVE-2019-11043/exploit.py:140
GET /index.php/PHP%0Ainfooooooooooooooooooo.php
- Query
{var}=- Key headers
Ebut: qazxs edcvfFoo: A- Ports
- 80
- PoC User-Agent
CVE-2019-11043- Seen in
- 1 repo: corifeo/CVE-2019-11043
- Evidence
- corifeo/CVE-2019-11043/CVE-2019-11043.py:18
GET /index.php/PHP_VALUE%0Asession.auto_start=1;;;
- Query
{var}=- Key headers
Ebut: qazxs edcvfFoo: {var}- Ports
- 80
- PoC User-Agent
CVE-2019-11043- Seen in
- 1 repo: corifeo/CVE-2019-11043
- Evidence
- corifeo/CVE-2019-11043/CVE-2019-11043.py:31 corifeo/CVE-2019-11043/CVE-2019-11043.py:37
GET /path%0Ainfo.php
- Query
{}- Seen in
- 1 repo: fairyming/CVE-2019-11043
- Evidence
- fairyming/CVE-2019-11043/CVE-2019-11043.py:22
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/PHP_VALUE%0Asession\.auto_start=0;;;\?(?:.*&)?\{var\}=
(?i)^/PHP_VALUE%0Asession\.auto_start=1;;;\?(?:.*&)?\{var\}=
(?i)^/PHP_VALUE%0asession\.auto_start=1;;;\?(?:.*&)?\{var\}=
(?i)^/index\.php\?(?:.*&)?a=bin/ls /.*a= sleep 5 /
(?i)^/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [11043] (msg:"GG PoC-Monitor CVE-2019-11043 PHP PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PHP_VALUE%0Asession.auto_start=0|3b||3b||3b|"; http.uri; content:"{var}="; http.header_names; content:"Foo"; nocase; http.header; content:"Hash_strndup: tudda nwsec|22| # qazxs edcvf"; nocase; http.header; content:"Hash_strndup: qazxs edcvf"; nocase; http.header_names; content:"Tud"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-11043; classtype:web-application-attack; sid:9399883; rev:1;)
alert http any any -> $HOME_NET [11043] (msg:"GG PoC-Monitor CVE-2019-11043 PHP PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PHP_VALUE%0Asession.auto_start=1|3b||3b||3b|"; http.uri; content:"{var}="; http.header_names; content:"Foo"; nocase; http.header; content:"Hash_strndup: tudda nwsec|22| # qazxs edcvf"; nocase; http.header; content:"Hash_strndup: qazxs edcvf"; nocase; http.header_names; content:"Tud"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-11043; classtype:web-application-attack; sid:9261234; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-11043 PHP PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/PHP_VALUE%0asession.auto_start=1|3b||3b||3b|"; http.uri; content:"{var}="; http.header; content:"# |22|host|22|: 10.211.55.6"; nocase; http.header_names; content:"Accept"; nocase; http.header_names; content:"D-Gisos"; nocase; http.header; content:"Ebut: mamku tvoyu"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-11043; classtype:web-application-attack; sid:9441490; rev:1;)
alert http any any -> $HOME_NET [11043] (msg:"GG PoC-Monitor CVE-2019-11043 PHP PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"a=bin/ls /"; http.uri; content:"a= sleep 5 /"; reference:url,poc.griffinguard.io/cve/CVE-2019-11043; classtype:web-application-attack; sid:9394733; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-11043 PHP PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"D-Pisos: 8=D"; nocase; http.header; content:"Ebut: mamku tvoyu"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-11043; classtype:web-application-attack; sid:9792357; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: PHP PHP exploit attempt (CVE-2019-11043)
id: gg-pocmon-cve-2019-11043-9399883
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11043. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-11043
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/PHP_VALUE%0Asession.auto_start=0;;;'
cs-uri-query|contains|all:
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.11043
title: PHP PHP exploit attempt (CVE-2019-11043)
id: gg-pocmon-cve-2019-11043-9261234
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11043. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-11043
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/PHP_VALUE%0Asession.auto_start=1;;;'
cs-uri-query|contains|all:
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.11043
title: PHP PHP exploit attempt (CVE-2019-11043)
id: gg-pocmon-cve-2019-11043-9441490
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11043. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-11043
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/PHP_VALUE%0asession.auto_start=1;;;'
cs-uri-query|contains|all:
- '{var}='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.11043
title: PHP PHP exploit attempt (CVE-2019-11043)
id: gg-pocmon-cve-2019-11043-9394733
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11043. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-11043
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'a=bin/ls /'
- 'a=
sleep 5
/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.11043
title: PHP PHP exploit attempt (CVE-2019-11043)
id: gg-pocmon-cve-2019-11043-9792357
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11043. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-11043
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.11043