Official nomination
PHP-FPM RCE(CVE-2019-11043)
An analysis and thought about recently PHP-FPM RCE (CVE-2019-11043)
A newline in the URI makes nginx pass an empty PATH_INFO to PHP-FPM, so a pointer calculation underflows and writes a null byte before the buffer, corrupting the FastCGI environment allocator. A following putenv then overwrites a hash-colliding fake request header with PHP_VALUE, letting an unauthenticated attacker set php.ini directives and run commands.
Preserved copies · Orange Tsai · Original publication ↗
Record
- Document
- An analysis and thought about recently PHP-FPM RCE (CVE-2019-11043)
- Researcher
- Orange Tsai
- Published by
- Orange Tsai
- Date
- Topic
- Server
In the archive
- Nominated for the 2019 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Related sources
- Original exploit
Author not stated
External source · no preserved copy
- PHP :: Sec Bug #78599 :: env_path_info underflow in fpm_main.c can lead to RCE
Author not stated · bugs.php.net
Preserved copies of this source
Tags
This page is the archive's own catalogue record. The research is the work of Orange Tsai, first published at the original source. Preserved copies are kept so the citation survives its host.