30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
id: CVE-2021-24210
|
|
|
|
info:
|
|
name: PhastPress < 1.111 - Open Redirect
|
|
author: 0x_Akoko
|
|
description: |
|
|
There is an open redirect in the PhastPress WordPress plugin before 1.111 that allows an attacker to malform a request to a page
|
|
with the plugin and then redirect the victim to a malicious page. There is also a support comment from another user one year
|
|
ago (https://wordpress.org/support/topic/phast-php-used-for-remote-fetch/) that says that the php involved in the request only
|
|
go to whitelisted pages but it's possible to redirect the victim to any domain.
|
|
reference: https://wpscan.com/vulnerability/9b3c5412-8699-49e8-b60c-20d2085857fb
|
|
severity: medium
|
|
tags: wordpress,cve,cve2021,redirect
|
|
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-24210
|
|
cwe-id: CWE-601
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/phastpress/phast.php?service=scripts&src=https%3A%2F%2Fexample.com"
|
|
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'
|
|
part: header
|