CVE-2024-1874Php
Critical 9.4 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 72
- CVSS 3.1
- 9.4
- EPSS
- 6.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 29, 2024
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-116
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 8.1.0 < 8.1.28 |
| php | php | ≥ 8.2.0 < 8.2.18 |
| php | php | ≥ 8.3.0 < 8.3.5 |
| fedoraproject | fedora | 39 |
| fedoraproject | fedora | 40 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- www.openwall.com Mailing List
- github.com Exploit Vendor Advisory
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List
- security.netapp.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.kb.cert.org
- www.vicarius.io Exploit Third Party Advisory