CVE-2024-1874

9.4 CRITICAL
Published: April 29, 2024 Modified: November 04, 2025

Description

In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/06/07/1
Source: security@php.net
Mailing List
https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7
Source: security@php.net
Exploit Vendor Advisory
https://security.netapp.com/advisory/ntap-20240510-0009/
Source: security@php.net
Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/12/11
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
http://www.openwall.com/lists/oss-security/2024/06/07/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List
https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Vendor Advisory
https://security.netapp.com/advisory/ntap-20240510-0009/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.kb.cert.org/vuls/id/123335
Source: af854a3a-2127-422b-91ae-364da2661108

16 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.4 / 10.0
EPSS (Exploit Probability)
58.1%
98th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

fedoraproject php