CVE-2022-25274 Access bypass in Drupal core
Users with general revision access can bypass permissions to view specific node and media content items they should not access.
- 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 CVE-2022-25274?
CVE-2022-25274 is a medium-severity missing authorization vulnerability in Drupal Drupal, published on 26 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Drupal 9.3 implemented a generic entity access API for entity revisions. However, this API was not completely integrated with existing permissions, resulting in some possible access bypass for users who have access to use revisions of content generally, but who do not have access to individual items of node and media content. This vulnerability only affects sites using Drupal's revision system.
Weakness: CWE-863
Which versions are affected by CVE-2022-25274?
4 open source packages ship an affected version, including drupal/core and drupal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 9.3.0 | 9.3.12 |
drupal/core Packagist | From 9.3.0 | 9.3.12 |
drupal/core Packagist | From 9.3.0 | 9.3.12 |
drupal Bitnami | From 9.3.0 | 9.3.12 |
Products include Drupal Drupal.
How do I fix CVE-2022-25274?
Upgrade drupal/core to 9.3.12 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-25274 being exploited?
There is no known exploitation of CVE-2022-25274 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as BIT-drupal-2022-25274, DRUPAL-CORE-2022-009, GHSA-7jr4-hgqx-vwgq, UBUNTU-CVE-2022-25274.