CVE-2022-2987 Ldap WP Login / Active Directory Integration < 3.0.2 - Unauthenticated Settings Update to Auth Bypass

High 7.5 Published Updated

Unauthenticated attackers can update LDAP settings to bypass authentication and gain unauthorized access to the WordPress site.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-2987?

CVE-2022-2987 is a high-severity missing authorization vulnerability in Unknown Ldap WP Login / Active Directory Integration, published on 26 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Ldap WP Login / Active Directory Integration WordPress plugin before 3.0.2 does not have any authorisation and CSRF checks when updating it's settings (which are hooked to the init action), allowing unauthenticated attackers to update them. Attackers could set their own LDAP server to be used to authenticated users, therefore bypassing the current authentication

Weakness: CWE-862, CWE-352

Which versions are affected by CVE-2022-2987?

It affects 1 product.

Products include Ldap Wp Login \/ Active Directory Integration Project Ldap Wp Login \/ Active Directory Integration.

How do I fix CVE-2022-2987?

No fix has been published for CVE-2022-2987 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2022-2987 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2987 exists.

Sources

Also known as GHSA-mh2q-2wc7-4q2g.

Is CVE-2022-2987 in your software?

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

Check your SBOMs for free