CVE-2024-4577

Scores

EPSS

0.944High94.4%
0%20%40%60%80%100%

Percentile: 94.4%

CVSS

9.8Critical3.x
0246810

CVSS Score: 9.8/10

All CVSS Scores

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

Description

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use “Best-Fit” behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.

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_overridesdebiannvdubuntu

CWEs

CWE-78

Exploits

Exploit ID: 52331

Source: exploitdb

URL: https://www.exploit-db.com/exploits/52331

Exploit ID: CVE-2024-4577

Source: github-poc

URL: https://github.com/byteReaper77/CVE-2024-4577

Vulnerable Software (8)

Type: Configuration

Operating System:

Trait:
{
  "children": [
    {
      "cpe_match": [
        {
          "cpe23uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
          "versionEndExcluding": "8.1.29"
        },
        {
          "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: 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:*:*:*:*:*:*:*",...

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
    },
    {
   ...

Source: nvd