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-2022-23708

CVE-2022-23708: Elastic Elasticsearch Auth Bypass Flaw

CVE-2022-23708 is an authentication bypass flaw in Elastic Elasticsearch that exposes the security index during upgrades from 6.x to 7.17.0. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 18, 2026

CVE-2022-23708 Overview

A flaw was discovered in Elasticsearch 7.17.0's upgrade assistant, in which upgrading from version 6.x to 7.x would disable the in-built protections on the security index, allowing authenticated users with "*" index permissions access to this index. This vulnerability represents a Broken Access Control issue that could expose sensitive security configuration data to unauthorized users.

Critical Impact

Authenticated users with wildcard index permissions can gain unauthorized access to the security index, potentially exposing sensitive security configuration data including user credentials and role definitions.

Affected Products

  • Elastic Elasticsearch 7.17.0
  • Elasticsearch instances upgraded from version 6.x to 7.x using the upgrade assistant
  • Deployments where users have "*" index permissions configured

Discovery Timeline

  • 2022-03-03 - CVE-2022-23708 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-23708

Vulnerability Analysis

This vulnerability affects the upgrade assistant component within Elasticsearch 7.17.0. During the migration process from version 6.x to 7.x, the upgrade assistant inadvertently disables built-in protections that normally restrict access to the .security index. The security index is a critical internal index that stores authentication and authorization data, including user accounts, roles, and API keys.

Under normal circumstances, access to this index is strictly controlled regardless of a user's configured index permissions. However, after an affected upgrade, authenticated users who have been granted wildcard (*) index permissions can bypass these protections and directly query or modify the security index contents.

Root Cause

The root cause stems from a flaw in the upgrade assistant's migration logic. When performing the upgrade from Elasticsearch 6.x to 7.x, the process fails to properly preserve or reinitialize the security index protections. This results in the security index being treated as a standard index rather than a protected system index, effectively removing the access control layer that should restrict its visibility.

Attack Vector

The attack vector requires network access and authentication to the Elasticsearch cluster. An attacker must possess valid credentials for an account that has been granted wildcard (*) index access permissions. Once authenticated, the attacker can directly query the .security index to retrieve sensitive data such as hashed passwords, user role mappings, and API key configurations. This information disclosure could facilitate further privilege escalation or credential theft attacks.

The vulnerability is exploited through standard Elasticsearch API calls targeting the security index. For example, authenticated users could enumerate all documents in the .security index or perform targeted searches for specific user accounts or role definitions.

Detection Methods for CVE-2022-23708

Indicators of Compromise

  • Unexpected API requests targeting the .security index from non-administrative users
  • Audit log entries showing successful reads or queries against the .security index by accounts that should not have access
  • Unusual patterns of index enumeration or bulk data retrieval operations
  • Evidence of credential harvesting or role enumeration activities in access logs

Detection Strategies

  • Enable and review Elasticsearch audit logs for any access attempts to the .security index
  • Monitor for search or get requests targeting .security* indices from user accounts
  • Implement alerting on wildcard index access patterns that include system indices
  • Review user permission configurations to identify accounts with overly broad * index permissions

Monitoring Recommendations

  • Configure centralized log aggregation for all Elasticsearch audit events
  • Create dashboards to visualize access patterns to protected system indices
  • Establish baseline access patterns and alert on deviations
  • Periodically audit user accounts and their associated index permissions

How to Mitigate CVE-2022-23708

Immediate Actions Required

  • Upgrade to Elasticsearch 7.17.1 or later which addresses this vulnerability
  • Review all user accounts with wildcard (*) index permissions and restrict access scope
  • Audit the security index for any unauthorized access or modifications
  • Reset credentials for any accounts that may have been exposed

Patch Information

Elastic has released version 7.17.1 to address this vulnerability. The security update restores proper protections on the security index after upgrades. Detailed information about the fix is available in the Elastic Stack 7.17.1 Security Update. Additional guidance may be found in the NetApp Security Advisory NTAP-20220729-0003.

Workarounds

  • Avoid granting wildcard (*) index permissions; use explicit index patterns that exclude system indices
  • Implement additional network segmentation to restrict Elasticsearch API access to trusted hosts
  • Enable and closely monitor audit logging for all security index access attempts
  • Consider temporarily restricting access to the Elasticsearch cluster until the patch can be applied
bash
# Review users with wildcard index permissions
# Use the Elasticsearch Security API to audit role mappings

# List all roles and check for "*" index privileges
GET /_security/role

# Restrict role to exclude system indices (example)
PUT /_security/role/limited_user
{
  "indices": [
    {
      "names": ["*", "-.*"],
      "privileges": ["read", "write"]
    }
  ]
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechElastic Elasticsearch

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-264

  • NVD-CWE-Other
  • Technical References
  • NetApp Security Advisory NTAP-20220729-0003
  • Vendor Resources
  • Elastic Stack Security Update
  • Related CVEs
  • CVE-2024-23444: Elasticsearch Information Disclosure Flaw

  • CVE-2024-43709: Elastic Elasticsearch DOS Vulnerability

  • CVE-2024-37280: Elastic Elasticsearch DOS Vulnerability

  • CVE-2023-46674: Elastic Elasticsearch Privilege Escalation
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