nuclei-templates/cves/2021/CVE-2021-24210.yaml

32 lines
1.2 KiB
YAML
Raw Normal View History

2021-06-29 10:03:18 +00:00
id: CVE-2021-24210
info:
name: PhastPress < 1.111 - Open Redirect
author: 0x_Akoko
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.
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: wordpress,cve,cve2021,redirect
2021-06-29 10:03:18 +00:00
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