php/php-src: PHP-FPM request smuggling through an unread HTTP request body

github.com3 min read

PHP can fail to discard unread bytes from an HTTP request body before reusing persistent PHP-FPM or LSAPI connections, allowing an unauthenticated attacker to smuggle a separate FastCGI request. By combining a malformed multipart body with unread input streams, an attacker can bypass front-end routing, supply forged client addresses, change administrative PHP settings, and execute arbitrary PHP code. The vulnerability was introduced in PHP 5.6.0 and can be mitigated by disabling backend connection reuse or upgrading to a patched release. Open article →

More on this topic