CVE-2020-13665 Drupal Core Access bypass vulnerability

Critical 9.8 Published Updated

Attackers can bypass access controls to read or modify data via JSON:API when read/write mode is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13665?

CVE-2020-13665 is a critical missing authorization vulnerability in Drupal Drupal, published on 5 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Access bypass vulnerability in Drupal Core allows JSON:API when JSON:API is in read/write mode. Only sites that have the read_only set to FALSE under jsonapi.settings config are vulnerable. This issue affects: Drupal Drupal Core 8.8.x versions prior to 8.8.8; 8.9.x versions prior to 8.9.1; 9.0.x versions prior to 9.0.1.

Which versions are affected by CVE-2020-13665?

14 open source packages ship an affected version, including drupal/core, drupal and drupal/drupal. It affects 1 product.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.08.8.8, 8.9.1, 9.0.1
drupal/core PackagistFrom 8.8.08.8.8
drupal/core PackagistFrom 8.8.08.8.8
drupal/core PackagistFrom 8.9.08.9.1
drupal/core PackagistFrom 8.9.08.9.1
drupal/core PackagistFrom 9.0.09.0.1
8 more packages
drupal/core PackagistFrom 9.0.09.0.1
drupal BitnamiFrom 8.8.08.8.8, 8.9.1, 9.0.1
drupal/drupal PackagistFrom 8.8.08.8.8
drupal/drupal PackagistFrom 8.8.08.8.8
drupal/drupal PackagistFrom 8.9.08.9.1
drupal/drupal PackagistFrom 8.9.08.9.1
drupal/drupal PackagistFrom 9.0.09.0.1
drupal/drupal PackagistFrom 9.0.09.0.1

Products include Drupal Drupal.

How do I fix CVE-2020-13665?

Upgrade drupal/core to a fixed version for your release line: 8.8.8, 8.9.1 or 9.0.1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-13665 being exploited?

There is no known exploitation of CVE-2020-13665 in the wild and no public exploit code.

All Drupal Drupal vulnerabilities

Sources

Also known as BIT-drupal-2020-13665, DRUPAL-CORE-2020-006, GHSA-wxqp-jwc9-g39x.

Is CVE-2020-13665 in your software?

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

Check your SBOMs for free