A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2021-39031

CVE-2021-39031: IBM WebSphere Auth Bypass Vulnerability

CVE-2021-39031 is an authentication bypass flaw in IBM WebSphere Application Server Liberty that enables LDAP injection attacks, granting unauthorized resource access. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2021-39031 Overview

CVE-2021-39031 is an LDAP injection vulnerability in IBM WebSphere Application Server Liberty versions 17.0.0.3 through 22.0.0.1. A remote authenticated attacker can send a specially crafted request to manipulate LDAP queries processed by the server. Successful exploitation grants the attacker access to unauthorized resources within the application. The flaw is tracked under IBM X-Force ID 213875 and is classified under [CWE-74] for improper neutralization of special elements in output used by a downstream component.

Critical Impact

Authenticated attackers can manipulate LDAP queries to bypass authorization controls and access restricted resources in WebSphere Liberty deployments.

Affected Products

  • IBM WebSphere Application Server Liberty 17.0.0.3
  • IBM WebSphere Application Server Liberty versions through 22.0.0.1
  • Deployments relying on LDAP-based authentication or authorization within Liberty

Discovery Timeline

  • 2022-01-25 - CVE-2021-39031 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-39031

Vulnerability Analysis

The vulnerability resides in how IBM WebSphere Application Server Liberty processes user-supplied input before incorporating it into Lightweight Directory Access Protocol (LDAP) queries. Input is not properly neutralized, allowing attacker-controlled characters to alter the structure of the resulting LDAP filter or distinguished name. The attacker must be authenticated, but no elevated privileges are required to exploit the flaw. Successful injection can cause the directory service to return entries the requester is not permitted to see, or to evaluate authorization decisions against attacker-influenced data.

Root Cause

The root cause is improper input neutralization, as reflected in [CWE-74]. Liberty constructs LDAP statements by concatenating user-controlled values without consistently escaping LDAP metacharacters such as *, (, ), \, and NUL bytes. When these characters reach the directory layer, they change the semantics of the query rather than being treated as literal data.

Attack Vector

The attack is delivered over the network through an authenticated session against the Liberty server. An attacker submits a crafted request whose parameter values contain LDAP filter syntax. Liberty embeds the values into a backend LDAP search, expanding the result set or altering authorization checks. The directory then returns objects or attributes that grant the attacker access to resources outside their authorized scope.

No verified public exploit code is available for this CVE. Refer to the IBM X-Force Vulnerability #213875 and IBM Support Node #6550488 entries for vendor technical details.

Detection Methods for CVE-2021-39031

Indicators of Compromise

  • LDAP filter metacharacters such as *)(uid=, )(|, or \28\29 appearing in HTTP parameters submitted to Liberty endpoints
  • Authenticated sessions issuing requests that result in access to resources outside the user's normal role scope
  • Anomalous LDAP search filters or unusually broad result sets in directory server logs originating from the Liberty service account

Detection Strategies

  • Inspect Liberty messages.log and trace.log for LDAP search operations containing unescaped wildcard or boolean operators in user-supplied fields
  • Correlate authenticated HTTP requests against backend LDAP query patterns to identify input that survives into the filter string
  • Apply web application firewall signatures targeting LDAP injection payloads on authenticated Liberty routes that perform directory lookups

Monitoring Recommendations

  • Enable LDAP audit logging on the directory server and alert on filters that return abnormally large result sets from the Liberty bind account
  • Monitor authorization decisions for sudden access to administrative or cross-tenant resources by standard user accounts
  • Track Liberty version and fix-pack levels through configuration management to surface hosts still running 17.0.0.3 through 22.0.0.1

How to Mitigate CVE-2021-39031

Immediate Actions Required

  • Apply the interim fix or upgrade to a Liberty release beyond 22.0.0.1 as documented in IBM Support Node #6550488
  • Inventory all Liberty instances and identify those configured with LDAP user registries, which are the exploitable configurations
  • Rotate credentials for the Liberty LDAP bind account if exploitation is suspected, and review authorization grants issued during the exposure window

Patch Information

IBM has issued remediation guidance through IBM Support Node #6550488. Administrators should apply the published interim fix or move to a fixed Liberty release. Vendor details are also tracked in IBM X-Force Vulnerability #213875.

Workarounds

  • Restrict access to authenticated Liberty endpoints that perform LDAP lookups to trusted network segments until patches are applied
  • Place a web application firewall in front of Liberty and block requests containing LDAP filter metacharacters in user-controlled fields
  • Reduce the privileges of the Liberty LDAP bind account so that even a successful injection cannot enumerate or modify sensitive directory entries
bash
# Configuration example
# Verify installed Liberty version before and after applying the fix
${WLP_HOME}/bin/productInfo version

# Apply IBM interim fix package (replace with the fix archive from IBM Support)
${WLP_HOME}/bin/installUtility install <fix-package>

# Restart the Liberty server to load patched binaries
${WLP_HOME}/bin/server stop <serverName>
${WLP_HOME}/bin/server start <serverName>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechIbm Websphere Application Server

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.25%

  • 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-74
  • Vendor Resources
  • IBM X-Force Vulnerability #213875

  • IBM Support Node #6550488
  • Related CVEs
  • CVE-2026-8644: IBM WebSphere Auth Bypass Vulnerability

  • CVE-2026-5516: IBM WebSphere Liberty Auth Bypass Flaw

  • CVE-2026-3621: IBM WebSphere Liberty Auth Bypass Flaw

  • CVE-2025-14917: IBM WebSphere Liberty Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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