Merge pull request #4346 from projectdiscovery/wp-security-open-redirect

Create wp-security-open-redirect.yaml
patch-1
Prince Chaddha 2022-05-10 14:38:54 +05:30 committed by GitHub
commit b2faf6fd8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
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