CVE-2020-7961: Remote Code Execution in Liferay Portal JSONWS
- Vendor
- Liferay
CVE-2020-7961 is an insecure deserialization vulnerability in the JSON web services (JSONWS) functionality of Liferay Portal versions before 7.2.1 CE GA2. An attacker can submit a malicious object that triggers arbitrary code execution during Java unmarshalling. Exploitation compromises the application with the privileges of its hosting process. Affected deployments include Liferay CE 6.2 and Liferay 7.0.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the Liferay application and resources accessible to its service account. Attackers can execute commands, access application configuration and database credentials, deploy web shells or other malware, and use the server for lateral movement. Root-level compromise is possible when the application runs with root privileges; the vulnerability does not independently confer root privileges. Botnet campaigns have used this vulnerability for malware propagation, DDoS activity, and cryptocurrency mining.
Mitigation
If you can’t patch tonight, do this now.
Until upgrading, disable JSONWS if it is unnecessary or restrict access to trusted systems through application access controls, reverse-proxy rules, or network filtering. Segment the server and run Liferay with a minimally privileged service account to limit compromise impact. Monitor JSONWS traffic and unexpected Java-process activity. Egress filtering is not sufficient by itself: exploitation using an in-process deserialization chain has been reported against an egress-restricted Liferay 7.0 host.
Remediation
Patch, then assume compromise.
Upgrade Liferay Portal to 7.2 CE GA2 (7.2.1) or a later supported, patched release. If exploitation is suspected, investigate for web shells, unauthorized processes, persistence mechanisms, and stolen application or database credentials; patching alone does not remove an existing compromise.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-7961 exploited in the wild?
- Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2020-7961?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2020-7961, the earliest disclosed Nov 25, 2019.
- Is there a patch for CVE-2020-7961?
- Upgrade Liferay Portal to 7.2 CE GA2 (7.2.1) or a later supported, patched release. If exploitation is suspected, investigate for web shells, unauthorized processes, persistence mechanisms, and stolen application or database credentials; patching alone does not remove an existing compromise.
- What products are affected by CVE-2020-7961?
- Liferay Portal.
- How severe is CVE-2020-7961?
- CVE-2020-7961 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 16, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.