ID:10228 - Exploit for OS Command Injection in PHP - CVE-2024-1874

 
Main Vulnerability Database Exploits ID:10228 - Exploit for OS Command Injection in PHP - CVE-2024-1874

ID:10228 - Exploit for OS Command Injection in PHP - CVE-2024-1874

Published: July 19, 2024


Vulnerability identifier: #VU88482
Vulnerability risk: Medium
CVE-ID: CVE-2024-1874
CWE-ID: CWE-78
Exploitation vector: Remote access
Vulnerable software:
PHP

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing array-ish $command parameter of proc_open. A remote attacker can pass specially crafted input to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.