CVE-2020-13665 — Vulnerability in drupal/core — CVE Details
Drupal Core Access bypass vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.28%). Schedule for your next planned update.
Does your project use an affected drupal/core version?
Paste your composer.lock to check it for CVE-2020-13665 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 24, 2022 (1647 days ago).
- Last revised April 23, 2024 — 700 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "drupal/core:^9.0.1"
composer require "drupal/drupal:^9.0.1"
composer require "drupal/drupal:^8.9.1"
composer require "drupal/core:^8.9.1"
composer require "drupal/core:^8.8.8"
composer require "drupal/drupal:^8.8.8"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| drupal/core Packagist · Affected: 9.0.0 | 9.0.1 |
| drupal/drupal Packagist · Affected: 9.0.0 | 9.0.1 |
| drupal/drupal Packagist · Affected: 8.9.0 | 8.9.1 |
| drupal/core Packagist · Affected: 8.9.0 | 8.9.1 |
| drupal/core Packagist · Affected: 8.8.0, 8.8.1, 8.8.2, 8.8.3 (+4 more) | 8.8.8 |
| drupal/drupal Packagist · Affected: 8.8.0, 8.8.1, 8.8.2, 8.8.3 (+4 more) | 8.8.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13665ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13665.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13665.yamlWEB
- https://github.com/drupal/corePACKAGE
- https://www.drupal.org/sa-core-2020-006WEB
Frequently Asked Questions
- What is CVE-2020-13665?
- Drupal Core Access bypass vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2020-13665?
- CVE-2020-13665 affects drupal/core and drupal/drupal. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-13665 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 69.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2018-7602CRITICAL
Drupal Core Remote Code Execution Vulnerability
- CVE-2018-7600CRITICAL
Drupal Core Remote Code Execution Vulnerability
- CVE-2019-6339CRITICAL
Arbitrary PHP code execution in Drupal
- CVE-2017-6920CRITICAL
Drupal PECL YAML parser unsafe object handling
- CVE-2017-6925CRITICAL
Drupal Entity access bypass for entities that do not have UUIDs or have protected revisions
- CVE-2020-13671HIGH
Drupal core Unrestricted Upload of File with Dangerous Type
- CVE-2024-55638HIGH
Drupal core contains a potential PHP Object Injection vulnerability
- CVE-2024-55636LOW
Drupal core contains a potential PHP Object Injection vulnerability