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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2022-23302

CVE-2022-23302: Apache Log4j JMSSink RCE Vulnerability

CVE-2022-23302 is a remote code execution flaw in Apache Log4j 1.x affecting JMSSink through deserialization of untrusted data. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 18, 2026

CVE-2022-23302 Overview

CVE-2022-23302 is an insecure deserialization vulnerability affecting the JMSSink component in all versions of Apache Log4j 1.x. When an attacker has write access to the Log4j configuration or if the configuration references an LDAP service under attacker control, they can manipulate the TopicConnectionFactoryBindingName configuration parameter to force JMSSink to perform malicious JNDI (Java Naming and Directory Interface) requests. This exploitation path can result in remote code execution, similar to the attack vector exploited in CVE-2021-4104.

Critical Impact

This vulnerability enables remote code execution through JNDI injection when attackers can modify Log4j configuration or control referenced LDAP services, potentially leading to complete system compromise of enterprise Java applications.

Affected Products

  • Apache Log4j 1.x (all versions)
  • NetApp SnapManager (Oracle and SAP editions)
  • Broadcom Brocade SANnav
  • QOS reload4j
  • Oracle WebLogic Server 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0
  • Oracle Business Intelligence 5.9.0.0.0, 12.2.1.3.0, 12.2.1.4.0
  • Oracle Enterprise Manager Base Platform 13.4.0.0, 13.5.0.0
  • Oracle Communications Unified Inventory Management 7.4.1, 7.4.2
  • Oracle MySQL Enterprise Monitor

Discovery Timeline

  • 2022-01-18 - CVE-2022-23302 published to NVD
  • 2025-07-07 - Last updated in NVD database

Technical Details for CVE-2022-23302

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data) and affects the JMSSink appender component within Log4j 1.x. The JMSSink appender is designed to send log events to a JMS (Java Message Service) topic, requiring JNDI lookups to establish connections with JMS providers. The vulnerability arises because the appender accepts a TopicConnectionFactoryBindingName configuration value that can point to arbitrary JNDI resources.

When an attacker gains the ability to modify the Log4j configuration file or controls an LDAP server referenced in the configuration, they can specify a malicious JNDI URI. During the connection initialization process, JMSSink performs a JNDI lookup using the attacker-controlled binding name, which can resolve to a remote object containing malicious serialized Java classes. Upon deserialization, these classes execute arbitrary code within the context of the vulnerable application.

Apache Log4j 1.2 reached end of life in August 2015 and no longer receives security updates. This vulnerability specifically requires JMSSink to be explicitly configured, which is not the default configuration.

Root Cause

The root cause of this vulnerability lies in the unsafe handling of JNDI lookups within the JMSSink component. The TopicConnectionFactoryBindingName and TopicBindingName configuration parameters are used directly in JNDI InitialContext.lookup() calls without proper validation or restrictions on the types of resources that can be retrieved. This allows attackers to specify LDAP, RMI, or other JNDI protocol URIs that can load and instantiate arbitrary classes from remote servers, leading to deserialization-based code execution.

Attack Vector

The attack requires one of two prerequisites: write access to the Log4j configuration file, or control over an LDAP service that is already referenced in the existing configuration. Once either condition is met, the attacker can inject a malicious JNDI reference that points to a remote server hosting a serialized Java payload.

When the vulnerable application initializes the JMSSink appender with the malicious configuration, it performs a JNDI lookup to the attacker-controlled endpoint. The remote server responds with a serialized object containing malicious code. Java's JNDI implementation deserializes this object, instantiating the attacker's payload and executing arbitrary code with the same privileges as the application. This attack is network-accessible and does not require user interaction once the malicious configuration is in place.

The exploitation mechanism closely mirrors CVE-2021-4104 (JMSAppender vulnerability), leveraging the same fundamental weakness in JNDI lookup handling that enabled the widespread Log4Shell attacks against Log4j 2.x versions.

Detection Methods for CVE-2022-23302

Indicators of Compromise

  • Presence of JMSSink configuration entries in log4j.properties or log4j.xml files with suspicious TopicConnectionFactoryBindingName values
  • JNDI lookup attempts to external LDAP, RMI, or DNS servers from Java application processes
  • Network connections to unexpected external endpoints on ports commonly used by LDAP (389, 636) or RMI (1099)
  • Log4j configuration files modified recently or containing references to external LDAP servers

Detection Strategies

  • Scan application deployments for Log4j 1.x JAR files (e.g., log4j-1.*.jar) using software composition analysis tools
  • Search configuration files for JMSSink class references and review all JNDI binding name parameters
  • Monitor DNS queries for unusual patterns that may indicate JNDI injection attempts (e.g., DNS queries containing encoded data)
  • Implement network segmentation rules to detect and block outbound JNDI protocol connections from application servers

Monitoring Recommendations

  • Deploy network detection rules to identify LDAP and RMI traffic originating from Java application servers to non-standard destinations
  • Enable file integrity monitoring on Log4j configuration files to detect unauthorized modifications
  • Correlate Java process behavior with outbound network connections to identify anomalous JNDI lookup patterns
  • Review application logs for javax.naming.NamingException errors that may indicate failed exploitation attempts

How to Mitigate CVE-2022-23302

Immediate Actions Required

  • Upgrade from Log4j 1.x to Log4j 2.x (version 2.17.1 or later recommended), which addresses this and numerous other security issues
  • If immediate upgrade is not possible, remove the JMSSink class from the Log4j JAR file by deleting org/apache/log4j/net/JMSSink.class
  • Remove all JMSSink configurations from log4j.properties and log4j.xml files
  • Restrict write access to Log4j configuration files using file system permissions
  • Block outbound LDAP and RMI connections from application servers at the network level

Patch Information

Apache Log4j 1.x has been end-of-life since August 2015 and will not receive a security patch for this vulnerability. Organizations must migrate to Apache Log4j 2.x (version 2.17.1 or later) to receive ongoing security support. For those requiring a drop-in replacement maintaining API compatibility, the QOS reload4j project provides a fork with security fixes applied.

Affected Oracle products have patches available through the Oracle April 2022 Critical Patch Update and Oracle July 2022 Critical Patch Update. NetApp has released advisories with remediation guidance through their security advisory portal.

Workarounds

  • Remove the JMSSink.class file from the Log4j JAR to prevent the vulnerable code from being loaded
  • Configure Java security manager policies to restrict JNDI lookups to trusted, internal naming services only
  • Implement network-level controls to block outbound LDAP (ports 389, 636) and RMI (port 1099) traffic from application servers
  • Set the com.sun.jndi.ldap.object.trustURLCodebase system property to false to prevent loading remote classes via LDAP
bash
# Remove JMSSink class from Log4j JAR as a workaround
zip -q -d log4j-1.2.*.jar org/apache/log4j/net/JMSSink.class

# Verify the class has been removed
jar -tf log4j-1.2.*.jar | grep -i jmssink

# Set JVM property to disable remote class loading (add to application startup)
# -Dcom.sun.jndi.ldap.object.trustURLCodebase=false

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Log4j

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Openwall OSS Security Alert

  • NetApp Security Advisory

  • Vicarius Detection Guide

  • Vicarius Mitigation Guide
  • Vendor Resources
  • Apache Mailing List Thread

  • Apache Log4j Documentation

  • Oracle April 2022 Alerts

  • Oracle July 2022 Alerts
  • Related CVEs
  • CVE-2021-44228: Siemens 6bk1602-0aa12-0tp0 RCE Flaw

  • CVE-2021-45046: Apache Log4j RCE Vulnerability

  • CVE-2021-4104: Apache Log4j 1.2 JMSAppender RCE Flaw

  • CVE-2021-44832: Apache Log4j RCE 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