Live threats

All CVEs / Php

CVE-2024-1874Php

Critical 9.4 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 8.1.0 < 8.1.28
phpphp≥ 8.2.0 < 8.2.18
phpphp≥ 8.3.0 < 8.3.5
fedoraprojectfedora39
fedoraprojectfedora40

Official sources

References

Links published by the sources. Open them with care.