Skip to main content

Liferay Portal CVE-2020-7961

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2020-03-20 cve@mitre.org
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed JSONWS endpoint
  2. Delivery
    Send crafted JSON with malicious object
  3. Exploit
    Trigger unsafe Java deserialization
  4. Execution
    Instantiate gadget chain
  5. Persist
    Execute arbitrary code as portal user
  6. Impact
    Deploy botnet/malware payload

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The exploitable prerequisite is a reachable Liferay Portal JSONWS (JSON web services) interface, exposed by default under paths such as /api/jsonws, on a Community Edition instance older than 7.2.1 CE GA2. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, no user interaction, and no special configuration are required against a default installation - exploitation succeeds simply by reaching the JSONWS endpoint over the network. The primary limiting factors are therefore version (must be pre-7.2.1 CE GA2) and network exposure of the JSONWS endpoint: deployments that firewall, proxy-restrict, or disable JSONWS, or that have upgraded, are not exploitable via this path.

Impact

This is a genuine top-tier priority, not a high-CVSS-but-low-real-risk case, and all signals reinforce each other. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates trivial network exploitation with no privileges or interaction and full impact; the EPSS score of 99.78% (100th percentile) is near the theoretical maximum for exploitation probability; the vulnerability is on the CISA KEV list as confirmed actively exploited; and public exploit code exists (Exploit-DB 48332, PacketStorm). Unlike cases where EPSS is low despite KEV listing (implying targeted use), here high EPSS, KEV, and public POC all agree, indicating broad, opportunistic, automatable exploitation - consistent with its documented use in the FreakOut botnet. No signals conflict. The primary residual uncertainty is version/edition scope: the CPE and description focus on Community Edition prior to 7.2.1 CE GA2, but Liferay's advisory also covered corresponding DXP/EE fix packs, so operators of enterprise editions should verify against the vendor advisory rather than assume they are unaffected.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP request to Liferay's JSONWS endpoint containing a malicious serialized Java object graph. Upon deserialization, a gadget chain executes attacker-controlled code as the portal service account, enabling installation of malware - as demonstrated by the FreakOut botnet, which used this flaw for mass compromise. Public exploit code (Exploit-DB 48332 and PacketStorm) makes this attack low-effort and repeatable.

Act Now Prioritize within 24-48h. Why: In CISA KEV with patch available.
Exploited in the wild (CISA KEV) Patch available 99.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

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.

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.

Affected Packages

maven com.liferay.portal:com.liferay.portal.kernel fix: 4.35.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Liferay Portal gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Added to CISA KEV
Jul 13, 2026 - 07:01 CISA
CVE Published
Mar 20, 2020 - 19:15 nvd
CRITICAL 9.8

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).

Executive ViewAI

Why It Matters

Liferay Portal Community Edition versions prior to 7.2.1 GA2 are vulnerable to remote code execution (CVE-2020-7961) requiring no authentication, enabling attackers to gain complete system control. This critical vulnerability is confirmed actively exploited by the FreakOut botnet with a 99.8% exploitation likelihood, placing any affected instance at immediate and severe risk of data compromise, operational shutdown, and malware deployment.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
8.0/10
Composite threat intelligence
EPSS Score
99.8%
Top 0% exploitable
Prevalence
Medium
widely-used enterprise/CMS portal platform, but not ubiquitous like nginx
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV Yes
Public POC Yes
EPSS 99.8%
Patch available Yes
Active threat Yes
Deciding rule
In CISA KEV with patch available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Immediate
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

234
Low Medium High Critical
KEV: +50
EPSS: +100
CVSS: +49
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:liferay:liferay_portal:*:*:*:*:community:*:*:*
CVE-2025-4388 MEDIUM POC
6.9 May 06

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024

CVE-2019-16891 CRITICAL POC
9.8 Oct 04

Liferay Portal CE 6.2.5 allows remote command execution because of deserialization of a JSON payload. Rated critical sev

CVE-2020-13445 HIGH POC
8.8 Jun 10

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

CVE-2018-10795 HIGH POC
8.8 May 07

Liferay 6.2.x and before has an FCKeditor configuration that allows an attacker to upload or transfer files of dangerous

CVE-2016-3670 MEDIUM POC
6.1 Jun 13

Cross-site scripting (XSS) vulnerability in users.jsp in the Profile Search functionality in Liferay before 7.0.0 CE RC1

CVE-2019-11444 HIGH POC
7.2 Apr 22

An issue was discovered in Liferay Portal CE 7.1.2 GA3. Rated high severity (CVSS 7.2), this vulnerability is remotely e

CVE-2025-4576 MEDIUM POC
6.9 Aug 08

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.133, and Liferay DXP 2025

CVE-2022-42118 MEDIUM POC
6.1 Nov 15

A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Lifera

CVE-2017-17868 MEDIUM POC
6.1 Dec 27

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_

CVE-2024-25608 MEDIUM POC
6.1 Feb 20

HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 be

CVE-2022-42120 CRITICAL
9.8 Nov 15

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

CVE-2022-42122 CRITICAL
9.8 Nov 15

A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy