Vulnerability in Php
CVE-2024-1874
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.
EPSS: 0.326 (98.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.
Affected products
- Php
- Php Group — versions 8.1.*, 8.2.*, 8.3.*
- Fedoraproject Fedora — versions 39, 40
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@php.net (Exploit, Vendor Advisory)
- security@php.net (Mailing List)
- security@php.net (Third Party Advisory)
- security@php.net (Mailing List)
- security@php.net (Mailing List)
- security@php.net (Mailing List)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-1874?
- CVE-2024-1874 is a critical-severity vulnerability in Php, classified under Improper Encoding or Escaping of Output. CVSS score: 9.4/10. Published 2024-04-29.
- How severe is CVE-2024-1874?
- Critical severity. CVSS v3 base score is 9.4 out of 10.
- Is CVE-2024-1874 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.