Exploit database

Vulnerability

CVE-2019-11043

Underflow in PHP-FPM can lead to RCE

Vulnerability details

Score
8.7
Severity
high

CVSS 3.1 · php

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

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.

CVE Program

Exploit source choices

37 sources
PHP-FPM Underflow RCE
MSF-multi--http--php_fpm_rceMetasploitPHP,Unix / remote

This module exploits an underflow vulnerability in versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 of PHP-FPM on Nginx. Only servers with certains Nginx + PHP-FPM configurations are exploitable. This is a port of the original neex's exploit code (see refs.). First, it detects the correct parameters (Query String Length and custom header length) needed to trigger code execution. This step determines if the target is actually vulnerable (Check method). Then, the exploit sets a series of PHP INI directives to create a file locally on the target, which enables code execution through a query string parameter. This is used to execute normal payload stagers. Finally, this module does some cleanup by killing local PHP-FPM workers (those are spawned automatically once killed) and removing the created local file.

2019-10-22php_fpm_rce.rb
neex/phuip-fpizdam
GH-084e77ceb95357f7d4bb454c280de962GitHubUnofficial GitHub source

Exploit for CVE-2019-11043

2019-09-2317 files · 1,838 stars
themiddleblue/cve-2019-11043
GH-0e693b3687fda1ba25df316ef1437a43GitHubUnofficial GitHub source

(PoC) Python version of CVE-2019-11043 exploit by neex

2019-10-285 files · 147 stars
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
jas502n/cve-2019-11043
GH-363de6957f496f42b73ba6091d1d1063GitHubUnofficial GitHub source

php-fpm+Nginx RCE

2019-10-2313 files · 105 stars
akamajoris/cve-2019-11043-docker
GH-5b38156bef9697dbc23c70d4f29c1357GitHubUnofficial GitHub source

akamajoris/cve-2019-11043-docker source repository

2019-10-245 files · 27 stars
cnhack3r/penetration_poc
GH-fdd34977de44cc5d80df5c3881fca455GitHubUnofficial GitHub source

FROM:@Mr-xn 渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss penetration-testing-poc csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

2022-01-11319 files · 23 stars
k8gege/cve-2019-11043
GH-d99ef06c83995f964179743b586cc39eGitHubUnofficial GitHub source

Ladon POC Moudle CVE-2019-11043 (PHP-FPM + Ngnix)

2019-11-115 files · 16 stars
kriskhub/cve-2019-11043
GH-8d911a5241160e4136b77175d384b5f8GitHubUnofficial GitHub source

This repository provides a dockerized infrastructure and a python implementation of the CVE-2019-11043 exploit.

2020-05-0511 files · 14 stars
ajread4/nessus_crosswalk
GH-0d0720d79dadb8055d8836f87af4a841GitHubUnofficial GitHub source

Crosswalk Nessus findings with the CISA Known and Exploited Vulnerabilities (KEV) catalog.

2023-01-033 files · 12 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
ypereirareis/docker-cve-2019-11043
GH-6529dd226e19f3afbc7012d35e6dff39GitHubUnofficial GitHub source

Docker image and commands to check CVE-2019-11043 vulnerability on nginx/php-fpm applications.

2019-10-307 files · 8 stars
huowen/cve-2019-11043
GH-e1f4b09dd37664469b45b37ca353caadGitHubUnofficial GitHub source

Python exp for CVE-2019-11043

2019-10-293 files · 5 stars
codehex083/phuip-fpizdam
GH-f55f210bedfcbd0d7af494ea12968925GitHubUnofficial GitHub source

Exploit for CVE-2019-11043

2025-10-2417 files · 3 stars
lindemer/cve-2019-11043
GH-0be715e267bb63f267be5500bf72f5b0GitHubUnofficial GitHub source

PHP-FPM Remote Command Execution Exploit

2020-11-183 files · 3 stars
mrdoulestar/cve-2019-11043
GH-9c9c9f09f35e1678a199cc4a85675fb4GitHubUnofficial GitHub source

CVE-2019-11043 && PHP7.x && RCE EXP

2019-11-062 files · 3 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
jptr218/php_hack
GH-a52abed80a9f0f3fe9a03bfde2e03302GitHubUnofficial GitHub source

CVE-2019-11043

2021-08-105 files · 2 stars
esskslifetech/php-secure-patch
GH-7499341b149a673c7822cb2eaf5740aeGitHubUnofficial GitHub source

Bash toolkit that finds and fixes PHP CVEs — PHP2Shell (CVE-2026-109618/109619), CVE-2026-115560, CVE-2024-4577, CVE-2019-11043 — on Linux and macOS. Detects runtimes, audits config, applies source patches, hardens php.ini / FPM / nginx / Apache, hunts compromise, rolls back cleanly. MIT.

2026-10-3137 files · 1 stars
esskslifetech/protection2shell
GH-0779ca3e171ce5bbf67b65a23c6b4883GitHubUnofficial GitHub source

Dependency-free toolkit that contains, patches and verifies the *2Shell families: PHP2Shell (CVE-2026-109618/109619), HTTP2Shell/Brotli (CVE-2026-111497), CVE-2024-4577, CVE-2019-11043. Cuts exploitation channels at the edge in minutes, applies verified upstream source patches, recycles workers, then re-checks every fix. Unattended: setup.sh --auto

2026-11-0157 files · 1 stars
fairyming/cve-2019-11043
GH-250b4819fd0c50c82ae51ee1f9f6f6fdGitHubUnofficial GitHub source

fairyming/cve-2019-11043 source repository

2019-10-249 files · 1 stars
moniik/cve-2019-11043_env
GH-58844becb8256d59dd30b708ddd11738GitHubUnofficial GitHub source

remote debug environment for CLion

2019-11-178 files · 1 stars
shadow-horse/cve-2019-11043
GH-530da4fd23299a3a896e13a08e6b8bc4GitHubUnofficial GitHub source

CVE-2019-11043 PHP远程代码执行

2019-10-2817 files · 1 stars
3bdsh/nextcloud
GH-5fd8da83699fcdd6ce4407b115244adeGitHubUnofficial GitHub source

3bdsh/nextcloud source repository

2022-06-1434 files · 0 stars
aaron3238/phpfpmexploit
GH-0b03c859e4121971d43ad41cafdd1ccaGitHubUnofficial GitHub source

A school project on using the php-fpm exploit on a docker container.

2021-04-2725 files · 0 stars
babebbu/tni-cwc-ggez-hosting
GH-d38adb61f1fad41d96888901307616a2GitHubUnofficial GitHub source

babebbu/tni-cwc-ggez-hosting source repository

2019-11-1231 files · 0 stars
badgerops/scanner2cpe
GH-7a28b752f0a37f9e24c2eddf63e92b0eGitHubUnofficial GitHub source

PoC of scanner deduplication script

2024-04-074 files · 0 stars
bayazid-bit/cve-2019-11043
GH-aeaa89688f429a80dfa6c6ca8edd4116GitHubUnofficial GitHub source

CVE-2019–11043: PHP-FPM Nginx Remote Code Execution Vulnerability

2025-06-192 files · 0 stars
corifeo/cve-2019-11043
GH-4c413fe9c0554501a6b92a1e3070e199GitHubUnofficial GitHub source

quick and dirty PHP RCE proof of concept

2020-07-132 files · 0 stars
cout970/publicstorage
GH-e8cf2d621729554900d79e50a93cdab9GitHubUnofficial GitHub source

Simple snippet hosting service, like pastebin but for APIs.

2022-03-1113 files · 0 stars