CVE-2024-4577

Scores

EPSS Score

0.9438

CVSS

3.x 9.8

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

All CVSS Scores

CVSS 4.0
0.0
CVSS 3.x
9.8

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

CVSS 2.0
0.0

Description

В версиях PHP 8.1.* до 8.1.29, 8.2.* до 8.2.20, 8.3.* до 8.3.8, при использовании Apache и PHP-CGI на Windows, если система настроена на использование определенных кодовых страниц, Windows может использовать поведение "Лучшая подстройка" для замены символов в командной строке, переданной функциям Win32 API. Модуль PHP CGI может неправильно интерпретировать эти символы как опции PHP, что может позволить злонамеренному пользователю передавать опции выполняемому PHP-бинарному файлу и тем самым раскрыть исходный код сценариев, выполнять произвольный PHP-код на сервере и т.д.

Sources

debiannvdubuntu

CWEs

CWE-78

Exploits

Exploit ID: CVE-2024-4577

Source: cisa

URL: https://www.cisa.gov/known-exploited-vulnerabilities-catalog

Reference Links

Vulnerable Software

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: debian

Trait:
{
  "unaffected": true
}

Source: debian

Type: Configuration

Vendor: fedoraproject

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:*:*:*:*:*:*:*",
      "vulnerable": true
    }
  ],
  "operator": "OR"
}

Source: nvd

Type: Configuration

Vendor: php

Product: php

Operating System: * * *

Trait:
{
  "cpe_match": [
    {
      "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
      "versionEndExcluding": "8.1.29",
      "versionStartIncluding": "8.1.0",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
      "versionEndExcluding": "8.2.20",
      "versionStartIncluding": "8.2.0",
      "vulnerable": true
    },
    {
      "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
      "versionEndExcluding": "8.3.8",
      "versionStartIncluding": "8.3.0",
      "vulnerable": true
    }
  ],
  "operator": "OR"
}

Source: nvd