CVE-2021-35397
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2021-35397
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-04T11:15:08
- Last Modified Date
- 2021-08-11T23:33:00
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:drogon:drogon:*:*:*:*:*:*:*:* | 1 | OR | 1.1.0 | 1.6.0 |
cpe:2.3:a:drogon:drogon:1.0.0:-:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta14:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta15:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta16:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta17:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta18:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta19:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta20:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:drogon:drogon:1.0.0:beta21:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
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 |
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-35397 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35397 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:57:36 | Added to TrackCVE | |||
2022-12-05 07:21:50 | 2021-08-04T11:15Z | 2021-08-04T11:15:08 | CVE Published Date | updated |
2022-12-05 07:21:50 | 2021-08-11T23:33:00 | CVE Modified Date | updated | |
2022-12-05 07:21:50 | Analyzed | Vulnerability Status | updated |