Skip to main content

CVE-2022-2987: CWE-862 Missing Authorization in Unknown Ldap WP Login / Active Directory Integration

High
VulnerabilityCVE-2022-2987cvecve-2022-2987cwe-862cwe-352
Published: Mon Sep 26 2022 (09/26/2022, 12:35:36 UTC)
Source: CVE
Vendor/Project: Unknown
Product: Ldap WP Login / Active Directory Integration

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

AI-Powered Analysis

AILast updated: 07/08/2025, 10:25:45 UTC

Technical Analysis

CVE-2022-2987 is a high-severity vulnerability affecting the Ldap WP Login / Active Directory Integration WordPress plugin versions prior to 3.0.2. The core issue is a missing authorization and CSRF (Cross-Site Request Forgery) protection when updating the plugin's settings, which are hooked to the WordPress 'init' action. This flaw allows unauthenticated attackers to modify critical plugin configuration parameters without any authentication or user interaction. Specifically, an attacker can change the LDAP server settings used for user authentication. By setting their own malicious LDAP server, attackers can effectively bypass the legitimate authentication mechanism, potentially gaining unauthorized access to the WordPress site or impersonating legitimate users. The vulnerability is classified under CWE-862 (Missing Authorization) and CWE-352 (Cross-Site Request Forgery), highlighting the lack of proper access control and CSRF protections. The CVSS v3.1 base score is 7.5, reflecting a high severity due to the network exploitable nature (AV:N), no required privileges (PR:N), and no user interaction (UI:N). The impact is primarily on the integrity of the authentication process, as confidentiality and availability are not directly affected. No known exploits have been reported in the wild as of the publication date, but the ease of exploitation and potential for privilege escalation make this a significant threat for affected WordPress sites using this plugin.

Potential Impact

For European organizations using WordPress sites integrated with LDAP or Active Directory via this plugin, the vulnerability poses a serious risk to the integrity of user authentication. An attacker exploiting this flaw can redirect authentication requests to a malicious LDAP server, potentially allowing unauthorized access to sensitive internal resources or administrative functions. This could lead to unauthorized data access, privilege escalation, and compromise of the affected web application. Given the widespread use of WordPress in Europe for corporate, governmental, and public sector websites, the vulnerability could undermine trust in affected services and lead to data breaches or service disruptions. Organizations relying on LDAP/AD integration for single sign-on or centralized authentication are particularly at risk, as the attack bypasses these controls. The absence of known exploits suggests the threat is currently theoretical but should be treated proactively due to the high ease of exploitation and critical impact on authentication integrity.

Mitigation Recommendations

1. Immediate upgrade of the Ldap WP Login / Active Directory Integration plugin to version 3.0.2 or later, where the vulnerability is fixed. 2. If upgrading is not immediately possible, restrict access to the WordPress admin and plugin settings pages using web application firewalls (WAFs) or IP whitelisting to prevent unauthorized access. 3. Implement additional monitoring and alerting for changes to plugin settings or LDAP configuration parameters within WordPress logs. 4. Employ multi-factor authentication (MFA) for WordPress admin accounts to reduce the risk of unauthorized access even if authentication is bypassed. 5. Conduct regular security audits of WordPress plugins, especially those handling authentication, to detect missing authorization or CSRF protections. 6. Consider isolating WordPress instances with LDAP integration in segmented network zones to limit the impact of potential compromises. 7. Educate administrators on the risks of unauthorized plugin configuration changes and encourage prompt patching of known vulnerabilities.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2022-08-25T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682f368b0acd01a249261116

Added to database: 5/22/2025, 2:36:59 PM

Last enriched: 7/8/2025, 10:25:45 AM

Last updated: 8/7/2025, 8:26:29 AM

Views: 14

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats