Liferay FCKeditor Configuration CVE-2018-10795 Arbitrary File Upload

Authors:CertCC.ir                Risk:Critical

CVE:CVE-2018-10795              0day:Arbitrary File Upload   

0day -id:0DAY-176150             Date:2018-05-08

Description

A vulnerability in the FCKeditor of Liferay could allow an unauthenticated, remote attacker to upload arbitrary files on a targeted system.

The vulnerability is due to improper security restrictions on file uploads by the affected software. An attacker could exploit this vulnerability by making a GET request that submits malicious input to the affected software. A successful exploit could allow arbitrary files to be uploaded to the system, which the attacker could use to execute arbitrary code or cause a denial of service (DoS) condition by overloading the file system or database on the affected system.

Analysis

To exploit this vulnerability, an attacker must send a crafted GET request to the targeted system, which may require that the attacker have access to the same trusted, internal network in which the system resides. This access requirement may reduce the likelihood of a successful exploit.

POC

[+] Title: LifeRay (Fckeditor) Arbitrary File Upload Vulnerability
[+] Date: 2018/05/05
[+] Author: Mostafa Gharzi
[+] Team: Maher - CertCC.ir
[+] Vendor Homepage: www.liferay.com
[+] Tested on: Windows 10 & Kali Linux
[+] Versions: 6.2.X and Before
[+] Vulnerable Parameter: Get Method
[+] Vulnerable File: /browser/liferay/browser.html?Type=
[+} Dork : inurl:/web/guest/
           inurl:/html/js/editor/fckeditor/



http://site/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html

Safeguards

Administrators are advised to contact the vendor regarding future updates and releases.

Administrators are advised to allow only trusted users to have network access.

Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.

Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

Administrators can help protect affected systems from external attacks by using a solid firewall strategy.

Administrators are advised to monitor affected systems.

Affected Products

  • The security vulnerability applies to the following combinations of products. 

    Primary Products
    Liferay, LLC Liferay 2.0 (.0, .3) | 2.1 (.0, .1) | 2.2 (.0, .1, .5) | 3.0 (.0) | 3.1 (.0) | 3.2 (.0) | 3.5 (.0) | 3.6 (.0, .1) | 4.0 (.0) | 4.1 (.0, .1, .2, .3) | 4.2 (.0, .1, .2) | 4.3 (.0, .1, .2, .3, .4, .5, .6) | 4.4 (.0, .1, .2) | 5.0 (.0, .1) | 5.1 (.0, .1, .2) | 5.2 (.0, .1, .2, .3) | 6.0 (.0, .1, .2, .3, .4, .5, .6) | 6.1 (.0, .1) | 6.2 (.0, .1, .2, .3, .4, .5)

Leave a Reply