.. / CVE-2020-14413

Exploit for NeDi 1.9C - Cross-Site Scripting (CVE-2020-14413)

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.

Nuclei Template

View the template here CVE-2020-14413.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2020/CVE-2020-14413.yaml
Copy

References:

https://github.com/Elsfa7-110/kenzer-templates
https://gist.github.com/farid007/8db2ab5367ba00e87f9479b32d46fea8
https://github.com/ARPSyndicate/kenzer-templates
https://nvd.nist.gov/vuln/detail/CVE-2020-14413