2021-06-29 10:03:18 +00:00
|
|
|
id: CVE-2021-24210
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PhastPress < 1.111 - Open Redirect
|
|
|
|
author: 0x_Akoko
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: medium
|
2021-08-29 06:43:37 +00:00
|
|
|
description: |
|
2021-08-29 09:14:12 +00:00
|
|
|
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
|
2021-08-29 06:43:37 +00:00
|
|
|
go to whitelisted pages but it's possible to redirect the victim to any domain.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://wpscan.com/vulnerability/9b3c5412-8699-49e8-b60c-20d2085857fb
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://plugins.trac.wordpress.org/changeset/2497610/
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 6.1
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2021-24210
|
|
|
|
cwe-id: CWE-601
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: wordpress,cve,cve2021,redirect
|
2021-06-29 10:03:18 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-06-06 10:40:15 +00:00
|
|
|
- "{{BaseURL}}/wp-content/plugins/phastpress/phast.php?service=scripts&src=https%3A%2F%2Finteract.sh"
|
2021-06-29 10:03:18 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-06-06 10:40:15 +00:00
|
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
|
2021-06-29 10:03:18 +00:00
|
|
|
part: header
|