The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-7961

CVE-2020-7961: Liferay Portal RCE Vulnerability

CVE-2020-7961 is a deserialization of untrusted data vulnerability in Liferay Portal that enables remote code execution via JSON web services. This article covers technical details, affected versions, and mitigations.

Published: March 11, 2026

CVE-2020-7961 Overview

CVE-2020-7961 is a critical insecure deserialization vulnerability affecting Liferay Portal prior to version 7.2.1 CE GA2. This vulnerability allows remote attackers to execute arbitrary code via JSON web services (JSONWS) by exploiting the unsafe deserialization of untrusted data. The flaw exists in the way Liferay Portal handles Java object deserialization through its JSONWS API endpoints, enabling unauthenticated attackers to achieve complete system compromise.

Critical Impact

This vulnerability is actively exploited in the wild and listed in CISA's Known Exploited Vulnerabilities catalog. Unauthenticated attackers can achieve remote code execution with no user interaction required, potentially leading to complete server takeover.

Affected Products

  • Liferay Portal Community Edition prior to 7.2.1 CE GA2
  • Liferay Portal versions with exposed JSONWS endpoints

Discovery Timeline

  • 2020-03-20 - CVE-2020-7961 published to NVD
  • 2025-11-07 - Last updated in NVD database

Technical Details for CVE-2020-7961

Vulnerability Analysis

This vulnerability stems from insecure deserialization practices within Liferay Portal's JSON Web Services (JSONWS) implementation. JSONWS is a powerful API framework in Liferay that exposes various service endpoints for remote procedure calls. The vulnerability occurs when the application deserializes Java objects from untrusted input without proper validation or filtering.

When processing incoming JSONWS requests, Liferay Portal fails to adequately validate serialized Java objects before deserialization. This allows attackers to craft malicious serialized payloads containing gadget chains that execute arbitrary code upon deserialization. The attack requires no authentication and can be executed remotely over the network, making it particularly dangerous for internet-facing Liferay installations.

According to Checkpoint Research Analysis, this vulnerability has been leveraged by threat actors for botnet creation, demonstrating its real-world exploitation in malicious campaigns.

Root Cause

The root cause is classified as CWE-502: Deserialization of Untrusted Data. Liferay Portal's JSONWS service improperly deserializes user-controlled input without implementing safeguards such as:

  • Whitelisting allowed classes for deserialization
  • Input validation before deserialization
  • Sandboxed deserialization environments

The Java unmarshalling process trusts incoming serialized data, allowing attackers to inject malicious objects that trigger code execution when the readObject() method processes the payload.

Attack Vector

The attack is conducted over the network targeting the JSONWS API endpoints. Attackers craft malicious JSON requests containing serialized Java objects with carefully constructed gadget chains. Common exploitation techniques leverage well-known Java deserialization gadget chains to achieve remote code execution.

The exploitation flow involves:

  1. Identifying an accessible Liferay Portal instance with JSONWS enabled
  2. Crafting a malicious serialized payload using Java gadget chains
  3. Sending the payload to vulnerable JSONWS endpoints
  4. The server deserializes the malicious object, triggering arbitrary code execution

Detailed exploitation techniques are documented in the Packet Storm RCE Exploit resources.

Detection Methods for CVE-2020-7961

Indicators of Compromise

  • Unusual or malformed requests to /api/jsonws/* endpoints containing serialized Java objects
  • Suspicious process spawning from Java/Tomcat processes such as shell execution or reverse shell connections
  • Network connections to unknown external hosts originating from the Liferay application server
  • Presence of known Java deserialization gadget chain signatures in request payloads

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block Java deserialization attack patterns in HTTP requests
  • Monitor JSONWS API endpoint access logs for anomalous request patterns and oversized payloads
  • Implement runtime application self-protection (RASP) to detect deserialization attacks
  • Use network intrusion detection systems (IDS) with signatures for known deserialization exploitation techniques

Monitoring Recommendations

  • Enable verbose logging for Liferay Portal's JSONWS service and review logs for suspicious activity
  • Monitor for unexpected outbound network connections from the application server
  • Implement file integrity monitoring on Liferay installation directories to detect unauthorized modifications
  • Alert on new user account creation or privilege escalation events that may indicate post-exploitation activity

How to Mitigate CVE-2020-7961

Immediate Actions Required

  • Upgrade Liferay Portal to version 7.2.1 CE GA2 or later immediately
  • If immediate patching is not possible, disable or restrict access to JSONWS endpoints
  • Implement network segmentation to limit exposure of vulnerable Liferay instances
  • Review system logs for indicators of compromise before and after patching

Patch Information

Liferay has addressed this vulnerability in version 7.2.1 CE GA2 and later releases. Organizations should consult the Liferay Known Vulnerabilities page for official security advisories and the Liferay Vulnerability Detail for specific guidance on remediation.

Given this vulnerability is listed in the CISA Known Exploited Vulnerabilities Catalog, federal agencies and critical infrastructure organizations have mandated remediation timelines.

Workarounds

  • Disable JSONWS endpoints entirely if they are not required for business operations
  • Implement strict IP-based access controls to limit JSONWS access to trusted internal networks only
  • Deploy a reverse proxy or WAF in front of Liferay to filter malicious deserialization payloads
  • Configure Java deserialization filters using ObjectInputFilter to block dangerous classes
bash
# Example: Restrict access to JSONWS via Apache configuration
<Location "/api/jsonws">
    Order deny,allow
    Deny from all
    Allow from 10.0.0.0/8
    Allow from 192.168.0.0/16
</Location>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLiferay Portal

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-502
  • Technical References
  • Packet Storm RCE Exploit

  • Packet Storm RCE Exploit

  • Checkpoint Research Analysis

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Liferay Known Vulnerabilities

  • Liferay Vulnerability Detail
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English