32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
id: CVE-2021-24210
|
|
|
|
info:
|
|
name: PhastPress < 1.111 - Open Redirect
|
|
author: 0x_Akoko
|
|
severity: medium
|
|
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
|
|
- https://plugins.trac.wordpress.org/changeset/2497610/
|
|
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-24210
|
|
cwe-id: CWE-601
|
|
tags: cve2021,redirect,wpscan,wordpress,cve
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/phastpress/phast.php?service=scripts&src=https%3A%2F%2Finteract.sh"
|
|
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
|
|
part: header
|