Sinatra up to 2.0.0 on Windows path_traversal.rb Backslash Character path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Sinatra up to 2.0.0 on Windows and classified as critical. This issue affects some unknown processing in the library rack-protection/lib/rack/protection/path_traversal.rb. This manipulation as part of Backslash Character causes path traversal. This vulnerability is tracked as CVE-2018-7212. The attack is possible to be carried out remotely. No exploit exists. The affected component should be upgraded.
Details
A vulnerability has been found in Sinatra up to 2.0.0 on Windows and classified as critical. Affected by this vulnerability is an unknown part in the library rack-protection/lib/rack/protection/path_traversal.rb. The manipulation as part of a Backslash Character leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, and integrity. The summary by CVE is:
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.
The bug was discovered 02/11/2018. The weakness was disclosed 02/18/2018 (Website). The advisory is shared at github.com. This vulnerability is known as CVE-2018-7212 since 02/17/2018. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1006 for this issue.
The vulnerability was handled as a non-public zero-day exploit for at least 7 days. During that time the estimated underground price was around $0-$5k.
Upgrading to version 2.0.1 eliminates this vulnerability.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
License
Website
- Product: https://github.com/sinatra/sinatra/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Sinatra 2.0.1
Patch: github.com
Timeline
02/11/2018 🔍02/17/2018 🔍
02/18/2018 🔍
02/18/2018 🔍
02/19/2018 🔍
02/08/2023 🔍
Sources
Product: github.comAdvisory: 6ad721abcfe36334108dcdd05d046c361e1b7a9c
Status: Not defined
CVE: CVE-2018-7212 (🔍)
GCVE (CVE): GCVE-0-2018-7212
GCVE (VulDB): GCVE-100-113557
Entry
Created: 02/19/2018 14:07Updated: 02/08/2023 12:26
Changes: 02/19/2018 14:07 (59), 01/06/2020 16:16 (1), 02/08/2023 12:18 (5), 02/08/2023 12:26 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.