7.5
HIGH
CVE-2021-35397
Drogon Static Router Path Traversal Vulnerability
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.

INFO

Published Date :

Aug. 4, 2021, 11:15 a.m.

Last Modified :

Aug. 11, 2021, 11:33 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-35397 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Drogon drogon
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-35397.

URL Resource
https://github.com/an-tao/drogon Third Party Advisory
https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 Exploit Third Party Advisory
https://github.com/an-tao/drogon/wiki/ENG-02-Installation Third Party Advisory
https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-35397 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-35397 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 11, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/an-tao/drogon No Types Assigned https://github.com/an-tao/drogon Third Party Advisory
    Changed Reference Type https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 No Types Assigned https://github.com/an-tao/drogon/blob/834e3eabdd0441ad2bc80c02e8bbfc3b8312c213/lib/src/StaticFileRouter.cc#L62-L67 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/an-tao/drogon/wiki/ENG-02-Installation No Types Assigned https://github.com/an-tao/drogon/wiki/ENG-02-Installation Third Party Advisory
    Changed Reference Type https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site No Types Assigned https://github.com/an-tao/drogon/wiki/ENG-03-Quick-Start#Static-Site Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:drogon:drogon:1.0.0:-:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta14:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta15:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta16:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta17:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta18:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta19:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta20:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:1.0.0:beta21:*:*:*:*:*:* *cpe:2.3:a:drogon:drogon:*:*:*:*:*:*:*:* versions from (including) 1.1.0 up to (including) 1.6.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-35397 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.48 }} -0.07%

score

0.76079

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability