CVE-2020-13697
Nanohttpd vulnerability
An issue was discovered in RouterNanoHTTPD.java in NanoHTTPD through 2.3.1. The GeneralHandler class implements a basic GET handler that prints debug information as an HTML page. Any web server that extends this class without implementing its own GET handler is vulnerable to reflected XSS, because the GeneralHandler GET handler prints user input passed through the query string without any sanitization.
Affected products
Nanohttpd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nanohttpd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/NanoHttpd/nanohttpd · Third Party Advisory
- www.vdoo.com/advisories · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-13697
- cve.org/CVERecord?id=CVE-2020-13697
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.