SecurityContext

CVE-2019-6339: Drupal Core - Remote Code Execution

  • Cve: CVE-2019-6339
  • Name: Drupal Core - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary code remotely by exploiting file operations on untrusted phar:// URIs, potentially leading to full system compromise.
  • Remediation: Update Drupal Core to version 7.62, 8.6.6, or 8.5.9 or later versions.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: Attacker needs to perform file operations on untrusted user input with insufficient validation, typically requiring admin permissions or specific configuration.
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.3595
  • Epss percentile: 0.98509
  • Assignee: [email protected]
  • Published at: 2019-01-22T15:29:00Z
  • Age in days: 2863
  • Modified at: 2026-06-17T02:39:02Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-6339
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-20Improper Input Validation

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/Vulnmachines/drupal-cve-2019-6339poc-in-github2021-10-19

References

Same in every row:

  • Source: nvd
UrlTags
https://www.drupal.org/sa-core-2019-002Patch, Vendor Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00004.htmlThird Party Advisory
https://www.debian.org/security/2019/dsa-4370Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
drupal:drupal>= 8.6.0, < 8.6.6; >= 8.5.0, < 8.5.9; >= 7.0, < 7.62nonvd/v1/products/drupal/drupal
debian:debian_linux= 9.0, = 8.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
drupal/drupalproductyes/v1/repositories/drupal/drupal

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-10-19
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since