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-13942

CVE-2020-13942: Apache Unomi RCE Vulnerability

CVE-2020-13942 is a remote code execution flaw in Apache Unomi allowing malicious OGNL or MVEL script injection via /context.json endpoint. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2020-13942 Overview

CVE-2020-13942 is a critical remote code execution vulnerability in Apache Unomi, an open-source Customer Data Platform. The vulnerability allows attackers to inject malicious OGNL (Object-Graph Navigation Language) or MVEL (MVFLEX Expression Language) scripts into the publicly accessible /context.json endpoint. This flaw enables unauthenticated remote attackers to execute arbitrary code on vulnerable Apache Unomi servers, potentially leading to complete system compromise.

The vulnerability represents a bypass of an incomplete fix implemented in version 1.5.1 for a previous similar issue. A new attack vector was discovered that circumvented the original security controls, prompting Apache to implement complete script filtering in version 1.5.2.

Critical Impact

Unauthenticated attackers can achieve remote code execution on Apache Unomi servers through OGNL/MVEL script injection via a publicly accessible endpoint, potentially leading to full system compromise.

Affected Products

  • Apache Unomi versions prior to 1.5.2

Discovery Timeline

  • November 24, 2020 - CVE-2020-13942 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-13942

Vulnerability Analysis

Apache Unomi exposes a /context.json endpoint that is publicly accessible and designed to handle user context data. The vulnerability stems from insufficient input validation and filtering of expression language scripts submitted to this endpoint. When processing incoming requests, the application fails to properly sanitize OGNL and MVEL expressions embedded within the request data.

OGNL and MVEL are powerful expression languages commonly used in Java applications for object manipulation. When these expression languages are not properly sandboxed or filtered, they can be leveraged to execute arbitrary Java code, including system commands. The attack requires no authentication, making any internet-exposed Apache Unomi instance a potential target.

This vulnerability is particularly severe because it represents a bypass of security measures implemented in version 1.5.1, where Apache attempted to address a similar script injection issue. The discovery of a new attack vector demonstrated that the original fix was incomplete, leaving systems vulnerable to exploitation through alternative injection techniques.

Root Cause

The root cause is improper input validation (CWE-20) combined with injection vulnerabilities (CWE-74). Apache Unomi failed to implement comprehensive filtering of OGNL and MVEL script constructs in user-supplied input to the /context.json endpoint. The expression language parsers would evaluate malicious scripts embedded in request parameters, enabling code execution within the application's security context.

Attack Vector

The attack is conducted over the network against the publicly accessible /context.json endpoint. An attacker crafts a malicious HTTP request containing OGNL or MVEL expression language payloads designed to execute arbitrary code. Since the endpoint requires no authentication, any attacker with network access to the Apache Unomi server can exploit this vulnerability.

The malicious payload typically leverages expression language capabilities to instantiate Java runtime objects and execute system commands. Upon successful exploitation, the attacker gains code execution privileges equivalent to the Apache Unomi application process, which often runs with elevated permissions on the host system.

Detection Methods for CVE-2020-13942

Indicators of Compromise

  • Unusual HTTP POST requests to /context.json containing OGNL expressions such as # symbols, @java.lang, or Runtime.getRuntime()
  • Requests containing MVEL expressions with Java class instantiation patterns
  • Unexpected child processes spawned by the Apache Unomi Java process
  • Network connections originating from the Unomi server to unknown external hosts

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block OGNL/MVEL injection patterns in requests to /context.json
  • Monitor HTTP access logs for suspicious POST requests containing expression language syntax
  • Implement intrusion detection signatures for known Apache Unomi exploitation patterns
  • Enable application-level logging to capture detailed request payloads for forensic analysis

Monitoring Recommendations

  • Configure alerts for unusual process execution patterns from the Apache Unomi service account
  • Monitor network traffic for command-and-control communications originating from Unomi servers
  • Implement file integrity monitoring on Apache Unomi installation directories
  • Review authentication logs for privilege escalation attempts following potential exploitation

How to Mitigate CVE-2020-13942

Immediate Actions Required

  • Upgrade Apache Unomi to version 1.5.2 or later immediately
  • If immediate patching is not possible, restrict network access to the /context.json endpoint using firewall rules
  • Place Apache Unomi behind a reverse proxy with request filtering capabilities
  • Conduct incident response procedures if exploitation is suspected

Patch Information

Apache has released version 1.5.2 which implements complete script filtering to prevent OGNL and MVEL injection attacks. Organizations running affected versions should upgrade to the latest available version of the 1.5.x release line. The official security advisory is available at the Apache Unomi CVE-2020-13942 page. Additional technical details can be found in the Checkmarx Advisory CX-2020-4284.

Workarounds

  • Implement network-level access controls to restrict access to the /context.json endpoint to trusted sources only
  • Deploy a web application firewall with rules to detect and block expression language injection patterns
  • Disable or remove the /context.json endpoint if it is not required for your deployment
  • Run Apache Unomi with minimal privileges using a dedicated service account to limit post-exploitation impact
bash
# Example: Restrict access to context.json using iptables
# Allow only internal network access to Unomi port
iptables -A INPUT -p tcp --dport 8181 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8181 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Unomi

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.32%

  • 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
  • CWE References
  • CWE-20

  • CWE-74
  • Technical References
  • Openwall OSS-Security Discussion

  • Checkmarx Advisory CX-2020-4284

  • Apache Announcement Thread

  • Apache Unomi Dev Discussion

  • Apache Unomi Users Discussion

  • Apache Unomi Commits Thread

  • Apache Unomi Dev Updates

  • Apache Unomi Users Updates
  • Vendor Resources
  • Apache Unomi CVE-2020-13942
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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