Description d’origine
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.
Logiciels concernés
- PHP ≥ 8.2.0 < 8.2.18≥ 8.1.0 < 8.1.28≥ 8.3.0 < 8.3.5 Corrigé dans: 8.2.18, 8.1.28, 8.3.5 correspondance exacte
Détails
- Publication
- 2024-04-29
- Dernière modification
- 2025-11-05
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L- CWE
- CWE-116
- EPSS (probabilité d’exploitation à 30 jours)
- 32.80% (percentile 98)
Références
- cve.org/CVE-2024-1874
- nvd.nist.gov/vuln/detail/CVE-2024-1874
- github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7
- www.openwall.com/lists/oss-security/2024/04/12/11
- security.netapp.com/advisory/ntap-20240510-0009/
- www.openwall.com/lists/oss-security/2024/06/07/1
- lists.fedoraproject.org/archives/list/[email protected]/message/PKG...
- lists.fedoraproject.org/archives/list/[email protected]/message/W45...
Suivez ces versions sur vos propres serveurs
InfraGuard collecte les versions logicielles installées sur chaque serveur et signale celles qui présentent des vulnérabilités connues. Auto-hébergé : rien ne quitte votre réseau.
Ce produit utilise des données de l’API du NVD, mais n’est ni approuvé ni certifié par le NVD. CVE® est une marque déposée de The MITRE Corporation ; les enregistrements CVE sont utilisés conformément aux conditions d’utilisation du CVE Program.