1. Accueil
  2. Vulnérabilités
  3. CVE-2024-4577

CVE-2024-4577

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…

Publiée le 9 juin 2024 · modifiée le 17 juin 2026 · Sources : NVD, CISA KEV, EPSS (FIRST)

Critique 100/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (2 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 39 — NVD
Fedora 40 — NVD
Php (3 ligne(s))
Php
ProduitVersionsCorrigé dansSource
Php de 8.1.0 (inclus) à 8.1.29 (exclu) — NVD
Php de 8.2.0 (inclus) à 8.2.20 (exclu) — NVD
Php de 8.3.0 (inclus) à 8.3.8 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

PHP CGI - Argument Injectionsource officielle

Modèle Nuclei

nuclei -u https://VOTRE-HOTE -t http/cves/2024/CVE-2024-4577.yaml

Source : Ouvrir

Chronologie

  1. — Publication de la CVE (cve)
  2. — Ajout au catalogue KEV (cisa-kev)
  3. — Preuve de concept publique observée (exploitdb)
  4. — Module d’exploitation public (metasploit) date de première observation
  5. — Modèle de détection Nuclei (nuclei) date de première observation

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-78 · Injection de commandes / code

Comment sont obtenues et calculées ces données