CVE-2022-25278 Access bypass in Drupal Core
Drupal core form API flaw allows users to alter data they should not have access to via contributed or custom modules.
- 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-25278?
CVE-2022-25278 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
Under certain circumstances, the Drupal core form API evaluates form element access incorrectly. This may lead to a user being able to alter data they should not have access to. No forms provided by Drupal core are known to be vulnerable. However, forms added through contributed or custom modules or themes may be affected.
Which versions are affected by CVE-2022-25278?
6 open source packages ship an affected version, including drupal/core and drupal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 8.0.0 | 9.3.19, 9.4.3 |
drupal/core Packagist | From 8.0.0 | 9.3.19 |
drupal/core Packagist | From 8.0.0 | 9.3.19 |
drupal/core Packagist | From 9.4.0 | 9.4.3 |
drupal/core Packagist | From 9.4.0 | 9.4.3 |
drupal Bitnami | From 8.0.0 | 9.3.19, 9.4.3 |
Products include Drupal Drupal.
How do I fix CVE-2022-25278?
Upgrade drupal/core to a fixed version for your release line: 9.3.19 or 9.4.3.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-25278 being exploited?
There is no known exploitation of CVE-2022-25278 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as BIT-drupal-2022-25278, DRUPAL-CORE-2022-013, GHSA-cfh2-7f6h-3m85, UBUNTU-CVE-2022-25278.