nuclei-templates/vulnerabilities/wordpress/wp-touch-redirect.yaml

26 lines
768 B
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: wp-touch-redirect
info:
name: WordPress WPtouch 3.7.5 - Open Redirect
author: r3Y3r53
severity: medium
description: |
WordPress WPtouch 3.7.5 is affected by an Open Redirect issue.
reference:
- https://packetstormsecurity.com/files/170568/WordPress-WPtouch-3.7.5-Open-Redirection.html
metadata:
verified: "true"
google-query: "inurl:/wp-content/plugins/wptouch"
tags: wp-plugin,wp,packetstorm,wptouch,unauth,redirect,wordpress
2023-03-05 13:42:10 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/?wptouch_switch=desktop&redirect=http://interact.sh"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'