PoC Monitor
← All CVEs
CVE-2019-11043published 28 Oct 2019 14:19 UTCData: JSON · API

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.

First public PoC 4.4 days beforebefore publication · 24 Oct 2019
Public PoCs2824 on GitHub · 4 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS8.7high · scored by CNA · CWE-120
CISA KEV 25 Mar 20222.4 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+180+360+540+720First public PoC24 Oct 2019 · t−4.4dCVE published28 Oct 2019 · t = 0Added to CISA KEV25 Mar 2022 · t+2.4y

First 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
RepositoryCreatedStarsAssessment
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
  • owner account created less than 7 days before the repo

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
  • owner account created less than 7 days before the repo

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
  • owner account created less than 30 days before the repo

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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedFound by usStarsAssessment
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
RepositoryCreatedFound by usStarsAssessment
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
  • pipes a download into a shell / encoded PowerShell in scripts/bootstrap-install.sh

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.
SourceTitlePublishedFound by us
Exploit-DBPHP-FPM + Nginx - Remote Code Execution28 Oct 201914 Nov 2026
Exploit-DBPHP-FPM - Underflow Remote Code Execution (Metasploit)9 Mar 202014 Nov 2026
MetasploitMetasploit exploit: PHP-FPM Underflow RCE (exploit/multi/http/php_fpm_rce)20 Jan 202014 Nov 2026
nuclei templatenuclei template: PHP-FPM Path Info Buffer Underflow - Remote Code Execution14 Jul 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 24 PoC repos

GET /PHP_VALUE%0Asession.auto_start=0;;;

Query
{var}=
Key headers
Foo: {var} Hash_strndup: tudda nwsec" # qazxs edcvf Hash_strndup: qazxs edcvf Tud: {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 edcvf Hash_strndup: qazxs edcvf Tud: {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%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: A Hash_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 edcvf Foo: {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 edcvf Foo: 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 edcvf Foo: {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.

GET /PHP_VALUE%0Asession.auto_start=0;;;
(?i)^/PHP_VALUE%0Asession\.auto_start=0;;;\?(?:.*&)?\{var\}=
GET /PHP_VALUE%0Asession.auto_start=1;;;
(?i)^/PHP_VALUE%0Asession\.auto_start=1;;;\?(?:.*&)?\{var\}=
GET /PHP_VALUE%0asession.auto_start=1;;;
(?i)^/PHP_VALUE%0asession\.auto_start=1;;;\?(?:.*&)?\{var\}=
GET /index.php
(?i)^/index\.php\?(?:.*&)?a=bin/ls /.*a=
sleep 5
 /
GET /
(?i)^/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /PHP_VALUE%0Asession.auto_start=0;;;
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;)
GET /PHP_VALUE%0Asession.auto_start=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;)
GET /PHP_VALUE%0asession.auto_start=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;)
GET /index.php
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;)
GET /
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.

GET /PHP_VALUE%0Asession.auto_start=0;;;
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
GET /PHP_VALUE%0Asession.auto_start=1;;;
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
GET /PHP_VALUE%0asession.auto_start=1;;;
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
GET /index.php
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
GET /
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