CVE-2019-6339

PHAR stream wrapper Arbitrary PHP code execution

Published Jan 22, 2019 CVSS 3.0 · 9.8 Critical EPSS 35.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1659-1 drupal7 security update
Debian DLA Debian DLA DLA-1685-1 drupal7 security update
Github GHSA Github GHSA GHSA-8cw5-rv98-5c46 Arbitrary PHP code execution in Drupal
History
Type Values Removed Values Added
Title PHAR stream wrapper Arbitrary PHP code execution PHAR stream wrapper Arbitrary PHP code execution
Weaknesses

Sources

Status
PUBLISHED
Assigner
drupal
Published
Updated
Sep 16, 2024, 8:06 PM
Reserved
Jan 15, 2019, 12:00 AM
Status
Modified
Published
Jan 22, 2019, 3:29 PM
Modified
Jun 17, 2026, 2:39 AM