Liferay Portal
CVE-2020-7961
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network-reachable JSONWS endpoint (AV:N/PR:N/UI:N) with straightforward deserialization exploitation (AC:L) yielding full RCE, so C:H/I:H/A:H.
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
3Blast Radius
ecosystem impact- 2 maven packages depend on com.liferay.portal:com.liferay.portal.kernel (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.35.3.
DescriptionNVD
Deserialization of Untrusted Data in Liferay Portal prior to 7.2.1 CE GA2 allows remote attackers to execute arbitrary code via JSON web services (JSONWS).
AnalysisAI
Remote code execution in Liferay Portal Community Edition (CE) versions prior to 7.2.1 CE GA2 allows unauthenticated remote attackers to run arbitrary Java code by abusing the JSON web services (JSONWS) interface. This flaw is confirmed actively exploited (CISA KEV) - it was leveraged by the 'FreakOut' botnet - with publicly available exploit code and an EPSS score of 99.78% (100th percentile), placing it among the most likely to be exploited vulnerabilities. It carries a CVSS 9.8, reflecting network-reachable, no-authentication, no-interaction exploitation with full confidentiality, integrity, and availability impact.
Technical ContextAI
The root cause is CWE-502 (Deserialization of Untrusted Data). Liferay Portal exposes a JSON web services (JSONWS) API that allows remote clients to invoke service methods and pass typed arguments. The deserialization mechanism reconstructs arbitrary Java objects from attacker-supplied JSON, allowing an attacker to instantiate gadget classes present on the classpath and coerce them into executing code (Java 'unmarshalling'/gadget-chain style exploitation). The affected component per CPE is cpe:2.3:a:liferay:liferay_portal (community edition), and PacketStorm advisories explicitly describe this as 'Java Unmarshalling Remote Code Execution.' Because the JSONWS endpoint is often reachable without authentication in default deployments, the unmarshalling of untrusted object graphs becomes a direct path to code execution on the server.
RemediationAI
Upgrade to a fixed release: Vendor-released patch - Liferay Portal 7.2.1 CE GA2 or later resolves the issue (per Liferay advisory at https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/117954271); enterprise (DXP/EE) users should apply the equivalent vendor fix pack referenced in the same advisory. Where immediate patching is not possible, restrict network access to the JSONWS endpoint (typically under /api/jsonws) by blocking or firewalling it from untrusted networks, or disable JSONWS if the deployment does not require it - noting that disabling it will break any integrations or portlets that depend on the JSON web services API. Additionally place the portal behind a reverse proxy/WAF and deny external requests to the JSONWS path, and audit for indicators of compromise given confirmed active exploitation. Consult https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7961 for KEV remediation timelines.
More in Liferay Portal
View allA reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024
Liferay Portal CE 6.2.5 allows remote command execution because of deserialization of a JSON payload. Rated critical sev
In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6
Liferay 6.2.x and before has an FCKeditor configuration that allows an attacker to upload or transfer files of dangerous
Cross-site scripting (XSS) vulnerability in users.jsp in the Profile Search functionality in Liferay before 7.0.0 CE RC1
An issue was discovered in Liferay Portal CE 7.1.2 GA3. Rated high severity (CVSS 7.2), this vulnerability is remotely e
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.133, and Liferay DXP 2025
A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Lifera
In Liferay Portal 6.1.0, the tags section has XSS via a Public Render Parameter (p_r_p) value, as demonstrated by p_r_p_
HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 be
A SQL injection vulnerability in the Fragment module in Liferay Portal 7.3.3 through 7.4.3.16, and Liferay DXP 7.3 befor
A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through
Same weakness CWE-502 – Deserialization of Untrusted Data
View allSame technique Deserialization
View allShare
External POC / Exploit Code
Leaving vuln.today