25 lines
803 B
YAML
25 lines
803 B
YAML
|
id: wp-security-open-redirect
|
||
|
|
||
|
info:
|
||
|
name: All In One WP Security & Firewall <= 4.4.1 - Open Redirect & Hidden Login Page Exposure
|
||
|
author: akincibor
|
||
|
severity: low
|
||
|
description: |
|
||
|
The All In One WP Security & Firewall plugin suffers from open redirect and exposure of the actual URL of the "hidden login page" feature.
|
||
|
reference:
|
||
|
- https://wpscan.com/vulnerability/9898
|
||
|
metadata:
|
||
|
verified: true
|
||
|
tags: wp-plugin,redirect,wordpress,wp
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/?aiowpsec_do_log_out=1&after_logout=https://attacker.com"
|
||
|
|
||
|
matchers:
|
||
|
- type: regex
|
||
|
part: header
|
||
|
regex:
|
||
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)attacker\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
|