Arbitrary file upload in Liferay Enterprise Portal - CVE-2018-10795
Published: May 7, 2018 / Updated: November 4, 2021
Vulnerability identifier: #VU12397
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2018-10795
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Liferay
Affected software:
Liferay Enterprise Portal
Liferay Enterprise Portal
Detailed vulnerability description
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to an error in FCKeditor configuration, which can lead to unauthorized upload of files via the browser/liferay/browser.html?Type= and html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html URLs. A remote unauthenticated attacker can send a specially crafted HTTP GET request to the affected scripts and upload malicious files to the server. The uploaded file will be automatically executed within the product's environment.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
The vulnerability exists due to an error in FCKeditor configuration, which can lead to unauthorized upload of files via the browser/liferay/browser.html?Type= and html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html URLs. A remote unauthenticated attacker can send a specially crafted HTTP GET request to the affected scripts and upload malicious files to the server. The uploaded file will be automatically executed within the product's environment.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
How to mitigate CVE-2018-10795
Install update from vendor's website.