Liferay Portal < 6.2.5 / 7.0.x < 7.0.6 / 7.1.x < 7.1.3 / 7.2.0 Remote Code Execution

critical Web App Scanning Plugin ID 112382

Synopsis

Liferay Portal < 6.2.5 / 7.0.x < 7.0.6 / 7.1.x < 7.1.3 / 7.2.0 Remote Code Execution

Description

Liferay Portal is a common Java Content Management System (CMS) used for building corporate intranets and public websites.

Liferay Portal versions 6.2.4 and below, 7.0.0 to 7.0.5, 7.1.0 to 7.1.2 and 7.2.0 perform unsafe Java deserialization through the JSON webservices, allowing unauthenticated attackers to do remote code execution on the target application.

Solution

Upgrade at least to version 7.2.1 (GA2) for version 7.2.0, 7.1.3 (GA4) for versions 7.1.x, version 7.0.6 (GA7) for versions 7.0.x and version 6.2.5 (GA6) for versions below. An immediate and temporary fix is to disable JSON webservice (JSONWS) by setting the following property : jsonws.servlet.hosts.allowed=Not/Available as described by the vendor.

See Also

https://codewhitesec.blogspot.com/2020/03/liferay-portal-json-vulns.html

https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/117954271

https://www.synacktiv.com/posts/pentest/how-to-exploit-liferay-cve-2020-7961-quick-journey-to-poc.html

Plugin Details

Severity: Critical

ID: 112382

Type: remote

Published: 5/7/2020

Updated: 9/7/2021

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Critical

Score: 9.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-7961

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2020-7961

Vulnerability Information

CPE: cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Reference Information

CVE: CVE-2020-7961