Merge pull request #2743 from Akokonunes/patch-43

Create wp-brandfolder-plugin-open-redirect.yaml
patch-1
Prince Chaddha 2021-09-25 00:55:20 +05:30 committed by GitHub
commit 93b6f3a799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
id: brandfolder-open-redirect
info:
name: Wordpress brandfolder plugin Open Redirect
author: 0x_Akoko
severity: low
reference: https://www.exploit-db.com/exploits/39591
tags: wordpress,wp-plugin,lfi,rfi
requests:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/brandfolder/callback.php?wp_abspath=https://example.com/"
matchers:
- type: regex
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'
part: header