CVE-2024-1874

CRITICAL

PHP <8.1.28, 8.2.*<8.2.18, 8.3.*<8.3.5 - Command Injection

Title source: llm

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.

Exploits (2)

nomisec WORKING POC 2 stars
by Tgcohce · poc
https://github.com/Tgcohce/CVE-2024-1874

Scores

CVSS v3 9.4
EPSS 0.6338
EPSS Percentile 98.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Details

CWE
CWE-116
Status published
Products (3)
fedoraproject/fedora 39
fedoraproject/fedora 40
php/php 8.1.0 - 8.1.28
Published Apr 29, 2024
Tracked Since Feb 18, 2026