Liferay Portal
CVE-2020-7961
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed JSONWS endpoint
-
DeliverySend crafted JSON with malicious object
-
ExploitTrigger unsafe Java deserialization
-
ExecutionInstantiate gadget chain
-
PersistExecute arbitrary code as portal user
-
ImpactDeploy 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Lifecycle Timeline
2DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
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
NVD
CVE.org
CISA KEV
EPSS
Exploit-DB
GitHub PoC