CVE-2024-1874

April 29, 2024, 12:42 p.m.

9.4
Critical

Description

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. 

Product(s) Impacted

Product Versions
PHP
  • ['8.1.* before 8.1.28', '8.2.* before 8.2.18', '8.3.* before 8.3.5']

Weaknesses

Common security weaknesses mapped to this vulnerability.

Tags

CVSS Score

9.4 / 10

CVSS Data - 3.1

  • Attack Vector: NETWORK
  • Attack Complexity: LOW
  • Privileges Required: NONE
  • Scope: UNCHANGED
  • Confidentiality Impact: HIGH
  • Integrity Impact: HIGH
  • Availability Impact: LOW
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

    View Vector String

Timeline

Published: April 29, 2024, 4:15 a.m.
Last Modified: April 29, 2024, 12:42 p.m.

Status : Awaiting Analysis

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

security@php.net

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.