CVE-2019-6339: PHAR stream wrapper Arbitrary PHP code execution
Critical - Arbitrary PHP code execution
Other sources
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.
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.
— GitHub
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2019-6339?
CVE-2019-6339 has been classified as a critical vulnerability due to its potential for arbitrary PHP code execution.
How do I fix CVE-2019-6339?
To fix CVE-2019-6339, update your Drupal installation to version 7.62 or later, 8.5.9 or later, or 8.6.6 or later.
What versions of Drupal are affected by CVE-2019-6339?
CVE-2019-6339 affects Drupal Core versions 7.x prior to 7.62, 8.5.x prior to 8.5.9 and 8.6.x prior to 8.6.6.
Is CVE-2019-6339 an exploit that can be easily executed?
Yes, CVE-2019-6339 can be exploited remotely, making it accessible to malicious actors.
What should I do if my Drupal site is vulnerable to CVE-2019-6339?
If your Drupal site is vulnerable to CVE-2019-6339, immediately apply the necessary updates to mitigate the issue.