{
  "CVE_data_meta": {
    "ID": "CVE-2022-2987",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "Ldap WP Login / Active Directory Integration < 3.0.2 - Unauthenticated Settings Update to Auth Bypass"
  },
  "data_format": "MITRE",
  "data_type": "CVE",
  "data_version": "4.0",
  "generator": "WPScan CVE Generator",
  "affects": {
    "vendor": {
      "vendor_data": [
        {
          "vendor_name": "Unknown",
          "product": {
            "product_data": [
              {
                "product_name": "Ldap WP Login / Active Directory Integration",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "3.0.2",
                      "version_value": "3.0.2"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "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"
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "MISC",
        "url": "https://wpscan.com/vulnerability/0d9638b9-bf8a-474f-992d-2618884d3f67",
        "name": "https://wpscan.com/vulnerability/0d9638b9-bf8a-474f-992d-2618884d3f67"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-862 Missing Authorization",
            "lang": "eng"
          }
        ]
      },
      {
        "description": [
          {
            "value": "CWE-352 Cross-Site Request Forgery (CSRF)",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "Lana Codes"
    }
  ],
  "source": {
    "discovery": "EXTERNAL"
  }
}