GHSA-jjx7-8462-w4m4 Drupal Core Insufficient Contextual Links validation leads to Remote Code Execution

Not scored Published

An attacker with contextual links access can exploit insufficient validation to achieve remote code execution on Drupal sites.

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-jjx7-8462-w4m4?

GHSA-jjx7-8462-w4m4 is a code 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

The Contextual Links module doesn't sufficiently validate the requested contextual links. This vulnerability is mitigated by the fact that an attacker must have a role with the permission "access contextual links".

Which versions are affected by GHSA-jjx7-8462-w4m4?

4 open source packages ship an affected version, including drupal/drupal.

PackageAffectedFixed in
drupal/drupal PackagistFrom 8.0.08.5.8
drupal/drupal PackagistFrom 8.0.08.5.8
drupal/drupal PackagistFrom 8.6.08.6.2
drupal/drupal PackagistFrom 8.6.08.6.2

How do I fix GHSA-jjx7-8462-w4m4?

Upgrade drupal/drupal to a fixed version for your release line: 8.5.8 or 8.6.2.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is GHSA-jjx7-8462-w4m4 being exploited?

There is no known exploitation of GHSA-jjx7-8462-w4m4 in the wild and no public exploit code.

Sources

Is GHSA-jjx7-8462-w4m4 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free