Description
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).
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Liferay Portal Java Unmarshalling via JSONWS RCE
exploit/multi/http/liferay_java_unmarshalling
Exploit-DB 1
- Liferay Portal - Java Unmarshalling via JSONWS RCE (Metasploit) EDB-48332 · remote · Apr 16, 2020 · verified
GitHub 10 repositories
-
mzer0one/CVE-2020-7961-POC ★ 117 · Mar 26, 2020
-
ShutdownRepo/CVE-2020-7961 ★ 18 · Jan 14, 2021
Exploit script for CVE-2020-7961
-
dinosn/liferay-ga4-rce-research ★ 7 · Jul 28, 2026
Security research on Liferay CE 7.0.3 GA4: pre-auth RCE as root (CVE-2020-7961 class) reproduced end-to-end, plus 16 more findings — 8+ with no known CVE. Agentic loop-hunt: 25 generators, 22 judges,…
-
thelostworldFree/CVE-2020-7961-payloads ★ 5 · May 23, 2020
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)
-
CrackerCat/CVE-2020-7961-Mass ★ 2 · Apr 9, 2021
CVE-2020–7961 Mass exploit for Script Kiddies
-
neverhavenamee/CVE-2020-7961 ★ 0 · Sep 4, 2025
-
manrop2702/CVE-2020-7961 ★ 0 · Mar 14, 2024
-
pashayogi/CVE-2020-7961-Mass ★ 0 · May 22, 2022
-
Alaa-abdulridha/GLiferay-CVE-2020-7961-golang ★ 0 · May 27, 2021
Detect vulns liferay CVE-2020-7961 by Nattroc (EOG Team)
-
Alaa-abdulridha/POC-CVE-2020-7961-Token-iterate ★ 0 · May 26, 2021
POC-CVE-2020-7961-Token-iterate
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Liferay Portal Unauthenticated < 7.2.1 CE GA2 - Remote Code Execution http/cves/2020/CVE-2020-7961.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.liferay.portal:com.liferay.portal.kernel | < 4.35.3 | 4.35.3 | GHSA-w7pm-cc4v-f3g8 |
References
- https://portal.liferay.dev/learn/security/known-vulnerabilities
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/117954271
- http://packetstormsecurity.com/files/157254/Liferay-Portal-Java-Unmarshalling-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158392/Liferay-Portal-Remote-Code-Execution.html
- https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/