CVE-2019-6339
PHAR stream wrapper Arbitrary PHP code execution
CRITICAL 9.8
En bref
- Source
- NVD
- EPSS
- EPSS 35.95 % · centile 98 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- drupal
- Statut NVD
- Modified
Description
In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6 and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Avis
- DRUPAL-CORE-2019-002 — A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI.
- GHSA-8cw5-rv98-5c46 — Arbitrary PHP code execution in Drupal
Références européennes
- ENISA EUVD · EUVD-2022-0526
- GCVE · GCVE-0-2019-6339
Configurations affectées (CPE NVD)
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 7.0 < 7.62cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 8.5.0 < 8.5.9cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 8.6.0 < 8.6.6cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Drupal · Drupal core | affected 7.x < 7.62 ; affected 8.6.x < 8.6.6. ; affected 8.5.x < 8.5.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |