CVE-2024-1874
CRITICALPHP <8.1.28, 8.2.*<8.2.18, 8.3.*<8.3.5 - Command Injection
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-1874. PoCs published by Tgcohce.
AI-analyzed exploit summary The repository contains functional exploit code demonstrating CVE-2024-1874, a command injection vulnerability in PHP's proc_open() function. It includes PoCs in both PHP and Python that bypass the original fix by leveraging trailing spaces in command names.
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 (1)
The repository contains functional exploit code demonstrating CVE-2024-1874, a command injection vulnerability in PHP's proc_open() function. It includes PoCs in both PHP and Python that bypass the original fix by leveraging trailing spaces in command names.
References (10)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L