CVE-2021-35397
Last modified
CVE-2021-35397 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 4.01% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Drogon | Drogon | >= 1.1.0, <= 1.6.0 |
| Drogon | Drogon | 1.0.0 |
References
- https://github.com/an-tao/drogonThird Party Advisory
- https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67Exploit, Third Party Advisory
- https://github.com/an-tao/drogon/wiki/ENG-02-InstallationThird Party Advisory
- https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-SiteThird Party Advisory
- https://github.com/an-tao/drogonThird Party Advisory
- https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67Exploit, Third Party Advisory
- https://github.com/an-tao/drogon/wiki/ENG-02-InstallationThird Party Advisory
- https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-SiteThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-35397?
How severe is CVE-2021-35397?
How do I fix CVE-2021-35397?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3539EspoCRM 6.1.6 and prior suffers from a persistent (type II) …5.4
- CVE-2021-35391Server Side Request Forgery vulnerability found in Deskpro S…7.2
- CVE-2021-35392Realtek Jungle SDK version v2.x up to v3.4.14B provides a 'W…7.5
- CVE-2021-35393Realtek Jungle SDK version v2.x up to v3.4.14B provides a 'W…9.8
- CVE-2021-35394Realtek Jungle SDK version v2.x up to v3.4.14B provides a di…9.8
- CVE-2021-35395Realtek Jungle SDK version v2.x up to v3.4.14B provides an H…9.8
- CVE-2021-3540By abusing the 'install rpm info detail' command, an attacke…7.2
- CVE-2021-35402PROLiNK PRC2402M 20190909 before 2021-06-13 allows live_api.…10
- CVE-2021-3541A flaw was found in libxml2. Exponential entity expansion at…6.5
- CVE-2021-35413A remote code execution (RCE) vulnerability in course_intro_…8.8
- CVE-2021-35414Chamilo LMS v1.11.x was discovered to contain a SQL injectio…9.8
- CVE-2021-35415A stored cross-site scripting (XSS) vulnerability allows att…4.8
Are you affected by CVE-2021-35397?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
