🛡️ CVE-2024-5585
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-78 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: 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.

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
CWE CWE-78
Public Exploit ⚠️ Yes
Source NVD
Published 2024-06-09
Updated 2026-06-15
Modified 2024-11-21
Fix URL N/A

Affected Packages

Software From version Fixed in
fedora
libphp
php
php-min

References

Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2024/06/07/1
Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2024/06/07/1

Similar Threats

Vulnerability Monitoring

Stay informed about vulnerabilities in your stack

BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.