CVE-2022-25278 Access bypass in Drupal Core

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.09.3.19, 9.4.3
drupal/core PackagistFrom 8.0.09.3.19
drupal/core PackagistFrom 8.0.09.3.19
drupal/core PackagistFrom 9.4.09.4.3
drupal/core PackagistFrom 9.4.09.4.3
drupal BitnamiFrom 8.0.09.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.

All Drupal Drupal vulnerabilities

Sources

Also known as BIT-drupal-2022-25278, DRUPAL-CORE-2022-013, GHSA-cfh2-7f6h-3m85, UBUNTU-CVE-2022-25278.

Is CVE-2022-25278 in your software?

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

Check your SBOMs for free