GHSA-jf8c-36vw-98x4 Drupal core Remote Code Execution
An attacker can execute arbitrary code on a Drupal site by exploiting unsanitized shell arguments in the email system.
- 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-jf8c-36vw-98x4?
GHSA-jf8c-36vw-98x4 is a command injection vulnerability in drupal/drupal, published on 15 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
DefaultMailSystem::mail(), which could lead to remote code execution.Which versions are affected by GHSA-jf8c-36vw-98x4?
6 open source packages ship an affected version, including drupal/drupal.
| Package | Affected | Fixed in |
|---|---|---|
drupal/drupal Packagist | From 7.0 | 7.60 |
drupal/drupal Packagist | From 7.0 | 7.60 |
drupal/drupal Packagist | From 8.0.0 | 8.5.8 |
drupal/drupal Packagist | From 8.0.0 | 8.5.8 |
drupal/drupal Packagist | From 8.6.0 | 8.6.2 |
drupal/drupal Packagist | From 8.6.0 | 8.6.2 |
How do I fix GHSA-jf8c-36vw-98x4?
Upgrade drupal/drupal to a fixed version for your release line: 7.60, 8.5.8 or 8.6.2.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-jf8c-36vw-98x4 being exploited?
There is no known exploitation of GHSA-jf8c-36vw-98x4 in the wild and no public exploit code.