Vulnerability · Published Aug 4, 2021 · Assigned by mitre
CVE-2021-35397
High 7.5
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities).
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.0%top 9.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A path traversal vulnerability in the static router for Drogon from 1.0.0-beta14 to 1.6.0 could allow an unauthenticated, remote attacker to arbitrarily read files. The vulnerability is due to lack of proper input validation for requested path. An attacker could exploit this vulnerability by sending crafted HTTP request with specific path to read. Successful exploitation could allow the attacker to read files that should be restricted.
Affected products (as reported)
References
- https://github.com/an-tao/drogon x_refsource_MISC
- https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 x_refsource_MISC
- https://github.com/an-tao/drogon/wiki/ENG-02-Installation x_refsource_MISC
- https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site x_refsource_MISC