DRUPAL-CONTRIB-2021-044 This module enables users to authenticate through their Microsoft Azure AD account.

Not scored Published

Authenticated users can hijack administrator accounts if the module is configured to update email addresses in user profiles.

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 DRUPAL-CONTRIB-2021-044?

DRUPAL-CONTRIB-2021-044 is a missing authorization vulnerability in drupal/openid_connect_windows_aad, published on 17 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

This module enables users to authenticate through their Microsoft Azure AD account.

The module does not sufficiently check authorization before updating user profile information in certain non-default configurations. This could lead a user being able to hijack another existing account.

This vulnerability is mitigated by the fact that an attacker must have knowledge of user accounts that have the administrator role or accounts with the 'Set a password for local authentication' permission. In addition the site must be configured with the 'Update email address in user profile' setting turned on.

Which versions are affected by DRUPAL-CONTRIB-2021-044?

Linux distribution packages (1)
drupal/openid_connect_windows_aad Packagist:https://packages.drupal.org/8All versions1.4.0

How do I fix DRUPAL-CONTRIB-2021-044?

Apply the vendor's patch.

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

Is DRUPAL-CONTRIB-2021-044 being exploited?

There is no known exploitation of DRUPAL-CONTRIB-2021-044 in the wild and no public exploit code.

Sources

Is DRUPAL-CONTRIB-2021-044 in your software?

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

Check your SBOMs for free