CVE-2024-1874

Scores

EPSS

0.634medium63.4%
0%20%40%60%80%100%

Percentile: 63.4%

CVSS

9.4critical3.x
0246810

CVSS Score: 9.4/10

All CVSS Scores

CVSS 3.x
9.4

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

anchore_overridesdebiannvdredhatubuntu

CWEs

CWE-116CWE-78

Related Vulnerabilities

Exploits

Exploit ID: CVE-2024-1874

Source: github-poc

URL: https://github.com/Tgcohce/CVE-2024-1874

Vulnerable Software (11)

Type: Configuration

Operating System:

Trait:
{  "children": [    {      "cpe_match": [        {          "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",          "versionEndExcluding": "8.1.28"        },        {          "cpe23uri": "...

Source: anchore_overrides

Type: Configuration

Product: php7.3

Operating System: debian

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Product: php7.4

Operating System: ubuntu focal 20.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: php7.4

Operating System: debian

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Product: php8.1

Operating System: ubuntu jammy 22.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: php8.2

Operating System: ubuntu mantic 23.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: php8.2

Operating System: debian

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Product: php8.2-soap

Operating System: altlinux

Trait:
{  "fixed": "0:8.2.24-alt1"}

Source: redhat

Type: Configuration

Product: php8.3

Operating System: ubuntu noble 24.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Vendor: *

Product: fedora

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*",      "vulnerable": true    },    {      "cpe23uri": "cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*",...

Source: nvd

Type: Configuration

Vendor: *

Product: php

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",      "versionEndExcluding": "8.1.28",      "versionStartIncluding": "8.1.0",      "vulnerable": true    },    {   ...

Source: nvd

End of list