字号·· | 护眼
漏洞档案 · 严重

Liferay Portal 不可信数据反序列化(CVE-2020-7961)

CVE-2020-7961
CVSS 9.8 / 3.1 EPSS 99.9% CISA KEV 在野利用 公开 PoC · 11 Nuclei 模板
综合风险96/ 100
CVSS9.8严重
EPSS99.9%30 天利用概率
机构收录时间2020-03-21更新 2026-12-01

研判简报

概述

Liferay Portal 在 7.2.1 CE GA2 之前的版本中,JSON Web Services(JSONWS)接口存在不可信数据反序列化漏洞(CWE-502),远程攻击者无需认证即可通过构造请求执行任意代码。成功利用可导致服务器完全失陷,并访问门户全部数据。该漏洞 CVSS 9.8、EPSS 接近 100%,且已列入 CISA KEV,属于应优先处置的高危面。对外暴露 Liferay Portal 的运维与安全团队应立即关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 96.18/100,评级 critical。攻击面为公网可达的 /api/jsonws/invoke 端点,未认证即可触发。

利用状态

核查日期 2026-11-24。CISA KEV 已收录(收录日期 2021-11-03),SSVC 判定 automatable=yes、exploitation=active、technical_impact=total。EPSS 30 天利用概率 99.9%(百分位 100.0%,数据日期 2026-11-23)。已有公开 Nuclei 检测模板(http/cves/2020/CVE-2020-7961.yaml),Exploit-DB/公开 PoC 共 11 条。勒索软件关联情况:材料未给出。

受影响产品

Liferay / Liferay Portal,受影响区间为 liferay:liferay_portal < 7.2.1(即 7.2.1 CE GA2 之前版本)。涉及组件为 JSONWS 接口;部署形态材料未给出(Nuclei 模板 CPE 标注为 community 版)。

修复版本

官方修复版本为 liferay_portal 7.2.1(7.2.1 CE GA2)。KEV 要求动作:Apply updates per vendor instructions,期限 2022-05-03。

缓解措施

无法立即升级时,应限制或阻断对 /api/jsonws(尤其 /api/jsonws/invoke)的外部访问,仅允许必要可信来源;在边界设备上对相关路径实施访问控制与请求过滤。材料未给出其他厂商级缓解方案。

响应步骤

  1. 资产排查:识别所有 Liferay Portal 实例并确认版本是否低于 7.2.1 CE GA2,优先处理公网暴露实例。
  2. 升级处置:按厂商指引升级至 7.2.1 CE GA2 或更高版本。
  3. 暴露面收敛:在升级前临时封禁外部对 JSONWS 接口的访问。
  4. 检测验证:使用公开 Nuclei 模板对存量实例做非破坏性检测,确认是否存在可利用端点。
  5. 失陷排查:检查 JSONWS 访问日志与异常进程、命令执行痕迹(对应 ATT&CK T1190、T1059)。
  6. 持续监控:跟踪 KEV/EPSS 与厂商公告更新,材料未给出进一步情报来源。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2020-7961kev
  2. https://www.exploit-db.com/exploits/48332exploit,exploitdb
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-7961.yamlexploit,nuclei
  4. https://portal.liferay.dev/learn/security/known-vulnerabilitiesx_refsource_MISC,x_refsource_MISC,x_transferred,Broken Link,Vendor Advisory
  5. https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/117954271x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,Broken Link,Vendor Advisor
  6. http://packetstormsecurity.com/files/157254/Liferay-Portal-Java-Unmarshalling-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,VDB Entry
  7. http://packetstormsecurity.com/files/158392/Liferay-Portal-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,VDB Entry
  8. https://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet/x_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,kev
  9. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7961government-resource,US Government Resource
  10. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/liferay_java_unmarshallingexploit,metasploit
  11. https://www.imperva.com/blog/python-cryptominer-botnet-quickly-adopts-latest-vulnerabilities/kev
  12. https://blog.checkpoint.com/2021/01/19/linux-users-should-patch-now-to-block-new-freakout-malware-which-exploits-new-vulnerabilities/kev
  13. https://blog.talosintelligence.com/2021/06/necro-python-bot-adds-new-tricks.htmlkev
  14. https://www.trendmicro.com/en_us/research/21/g/threat-actors-exploit-misconfigured-apache-hadoop-yarn.htmlkev
  15. https://euvd.enisa.europa.eu/enisa/EUVD-2022-5527kev
  16. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev