Information disclosure in Sinatra



Published: 2018-02-12
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-7212
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Sinatra
Web applications / Remote management & hosting panels

Vendor Sinatra

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Path traversal

EUVDB-ID: #VU10819

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-7212

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote unauthenticated attacker to obtain potentially sensitive information on the target system.

The weakness exists due to insufficient path validation in the rack-protection feature when running on Microsoft Windows systems. A remote attacker can send a specially crafted request with a series of backslash characters, trigger path traversal and access potentially sensitive information.

Mitigation

Update to version 2.0.1.

Vulnerable software versions

Sinatra: 1.3.0 - 2.0.0

External links

http://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###