#VU91109 OS Command Injection in PHP - CVE-2024-5585


| Updated: 2024-06-07

Vulnerability identifier: #VU91109

Vulnerability risk: Medium

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-5585

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

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

The vulnerability exists due to insufficient fix for #VU88482 (CVE-2024-1874). A remote attacker can pass specially crafted input to the application and execute arbitrary OS commands on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

PHP: 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7


External links
https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability