Skip to content
Threat Brief

← All advisories

CVE-2019-11043

High 8.7KEV · exploitedPublic exploit ×2Fix available

Underflow in PHP-FPM can lead to RCE

Record last updated

CVSS score

8.7

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

100%

Among the highest-scored CVEs. A prediction, not evidence.

CISA remediation deadline

1681days overdue

Passed 1681 days ago for U.S. federal agencies

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.

Weakness: CWE-120

Patching and mitigation

Patch status
Fix available (source: CVE record (php))
Fix documented (source date)
Mitigation
Configuring nginx (or other server that implements the front-end part of the FPM protocol) to check for the existence of the target file before passing it to PHP FPM (e.g. "try_files $uri =404" or "if (-f $uri)" in nginx) for would prevent this vulnerability from happening. Source (opens in a new tab)
Vendor guidance
usn.ubuntu.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
PHPFastCGI Process Manager (FPM)Not documentedNot documentedCISA KEV
PHPPHPfrom 7.1.x before 7.1.337.1.33CVE Program
PHPPHPfrom 7.2.x before 7.2.247.2.24CVE Program
PHPPHPfrom 7.3.x before 7.3.117.3.11CVE Program

Timeline

  1. Disclosure

    CVE record published by php

    Source: CVE Program (opens in a new tab)

  2. 25 Mar 2022KEV

    Added to the CISA Known Exploited Vulnerabilities catalog

    Source: CISA KEV (opens in a new tab)

  3. 25 Mar 2022Exploitation

    Exploitation confirmed by CISA KEV

    Source: CISA KEV (opens in a new tab)

  4. Patch

    Fix documented by CVE record (php)

    Source: CVE record (php) (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.