GHSA-gxxj-g9v8-w28p Drupal core Arbitrary PHP code execution
Attackers can execute arbitrary PHP code by uploading malicious archive files if Drupal is configured to process them.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-gxxj-g9v8-w28p?
GHSA-gxxj-g9v8-w28p is an unsafe deserialization vulnerability in drupal/core, published on 15 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Drupal project uses the PEAR Archive_Tar library. The PEAR Archive_Tar library has released a security update that impacts Drupal. For more information please see: CVE-2020-28948 CVE-2020-28949
Multiple vulnerabilities are possible if Drupal is configured to allow .tar, .tar.gz, .bz2, or .tlz file uploads and processes them.
To mitigate this issue, prevent untrusted users from uploading .tar, .tar.gz, .bz2, or .tlz files.
Which versions are affected by GHSA-gxxj-g9v8-w28p?
8 open source packages ship an affected version, including drupal/core.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 7.0.0 | 7.75 |
drupal/core Packagist | From 7.0.0 | 7.75 |
drupal/core Packagist | From 8.0.0 | 8.8.12 |
drupal/core Packagist | From 8.0.0 | 8.8.12 |
drupal/core Packagist | From 8.9.0 | 8.9.10 |
drupal/core Packagist | From 8.9.0 | 8.9.10 |
2 more packages
drupal/core Packagist | From 9.0.0 | 9.0.9 |
drupal/core Packagist | From 9.0.0 | 9.0.9 |
How do I fix GHSA-gxxj-g9v8-w28p?
Upgrade drupal/core to a fixed version for your release line: 7.75, 8.8.12, 8.9.10 or 9.0.9.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is GHSA-gxxj-g9v8-w28p being exploited?
There is no known exploitation of GHSA-gxxj-g9v8-w28p in the wild and no public exploit code.