Merge pull request #3747 from Akokonunes/patch-120

Create otobo-open-redirect.yaml
patch-1
Prince Chaddha 2022-02-23 17:35:55 +05:30 committed by GitHub
commit 402cda8a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
id: otobo-open-redirect
info:
name: Open Redirect in Otobo
author: 0x_Akoko
severity: medium
description: There is a open redirect vulnerability in Otobo
reference:
- https://huntr.dev/bounties/de64ac71-9d06-47cb-b643-891db02f2a1f/
- https://github.com/rotheross/otobo
tags: redirect,otobo
requests:
- method: GET
path:
- '{{BaseURL}}/otobo/index.pl?Action=ExternalURLJump;URL=http://www.example.com'
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)example\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1