Lucene search

K
exploitdbNicolas MarkitanisEDB-ID:44241
HistoryFeb 22, 2018 - 12:00 a.m.

Parallels Remote Application Server 15.5 - Path Traversal

2018-02-2200:00:00
Nicolas Markitanis
www.exploit-db.com
18

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

0.01 Low

EPSS

Percentile

83.5%

# Exploit Title: Parallels Remote Application Server (RAS) 15.5 Path Traversal 
# Date: 22-02-2018 
# Exploit Author: Nicolas Markitanis - RUNESEC
# Reviewers: Simon Loizides and Marios Nicolaides - RUNESEC
# Vendor Homepage: https://www.parallels.com/ 
# Affected: Parallels Remote Application Server (RAS) 15.5 Build 16140 
# Tested on: Windows
# CVE-ID: CVE-2017-9447	
# Category: Web Application

Overview
--------

The web interface of the Parallels Remote Application Server is vulnerable to Path Traversal.
The vulnerability exists due to improper validation of the file path when requesting a resource under the "RASHTML5Gateway" directory.
A remote, unauthenticated attacker could exploit this weakness to read arbitrary files from the vulnerable system using path traversal sequences ("..\\\").

This was tested on Parallels RAS 15.5 (build 16140). Previous versions of may also be affected.


Details
--------

An attacker could exploit this vulnerability by using path traversal sequences ("..\\\") to access sensitive information as demonstrated below (Please note that the file accessed (win.ini) is for demonstration purposes only):
    
    - https://example.com/RASHTML5Gateway//..\\\..\\\..\\\..\\\..\\\windows\win.ini

Impact
--------

An attacker could exploit this vulnerability to gain unauthorized read access to sensitive files located outside of the web root directory. By doing so, an attacker might also be able to compromise valid sessions in order to gain unauthorized access to the RAS interface.

References
----------

https://www.owasp.org/index.php/Testing_Directory_traversal/file_include_(OTG-AUTHZ-001)

Timeline
--------

5 June 2017 - Parallels informed about the issue
September 2017 - Parallels released a patch
22 February 2018 - Exploit publicly disclosed (https://blog.runesec.com/2018/02/22/parallels-ras-path-traversal/)

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

0.01 Low

EPSS

Percentile

83.5%