PHP-FPM Vulnerability (CVE-2019-11043) with NGINX

OWASP 2013-A9 OWASP 2017-A9 OWASP 2021-A6 CWE-787

The CVE-2019-11043 vulnerability affects the system that is using an NGINX web server, which is enabled with the Hypertext Preprocessor FastCGI Process Manager (PHP-FPM).

The PHP-FPM is not a core component of PHP. The web hosting provider typically includes it in their PHP environments. This vulnerability can be used in certain conditions to achieve remote code execution.

One way to trigger the vulnerability is to embed a line break (%0a) or carriage return (%0d) character into the request URL, which is then not correctly handled by the regular expression.


This is a remote code execution vulnerability. So, if the attacker can successfully exploit this vulnerability then he can access the server or can run commands to the server.

Mitigation Or Precaution

The only certain way to address this vulnerability is to upgrade your PHP to the patched release (or later). Else the PHP-FPM can use the NGINX unit to run the PHP applications.

Latest Articles