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-2024-23444

CVE-2024-23444: Elasticsearch Information Disclosure Flaw

CVE-2024-23444 is an information disclosure vulnerability in Elastic Elasticsearch where the certutil CLI tool stores private keys unencrypted. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-23444 Overview

A sensitive data exposure vulnerability has been identified in Elasticsearch's elasticsearch-certutil CLI tool. When the tool is used with the csr option to create a new Certificate Signing Request (CSR), the associated private key that is generated is stored on disk unencrypted, even when the --pass parameter is explicitly passed in the command invocation. This security flaw was discovered by Elastic engineering during internal security testing.

This vulnerability represents a significant cryptographic security weakness because administrators who believe they are protecting their private keys with password encryption are unknowingly leaving sensitive cryptographic material exposed on the file system. The unencrypted private keys can be read by any user or process with file system access, potentially compromising the entire TLS/SSL certificate infrastructure of an Elasticsearch deployment.

Critical Impact

Private keys generated using elasticsearch-certutil with the CSR option are stored unencrypted on disk regardless of password protection settings, potentially exposing cryptographic credentials to unauthorized access.

Affected Products

  • Elastic Elasticsearch versions prior to 8.13.0
  • Elastic Elasticsearch versions prior to 7.17.23
  • Any Elasticsearch deployment using certificates generated with the vulnerable certutil CSR functionality

Discovery Timeline

  • July 31, 2024 - CVE-2024-23444 published to NVD
  • April 4, 2025 - Last updated in NVD database

Technical Details for CVE-2024-23444

Vulnerability Analysis

This vulnerability falls under CWE-311 (Missing Encryption of Sensitive Data). The core issue lies in the elasticsearch-certutil command-line tool's handling of the --pass parameter when generating Certificate Signing Requests.

Under normal operation, when an administrator generates certificates or CSRs using elasticsearch-certutil, they can specify a password via the --pass parameter to encrypt the private key at rest. This is a critical security control that ensures private keys remain protected even if an attacker gains read access to the file system.

However, when using the csr option specifically, the tool fails to properly apply the encryption to the generated private key. The private key is written to disk in plaintext PEM format, completely ignoring the password encryption directive. This creates a false sense of security where administrators believe their keys are protected when they are not.

The vulnerability can be exploited by any actor with read access to the file system where the private key is stored. This includes local users, compromised applications running on the same system, or attackers who have gained initial foothold through other means.

Root Cause

The root cause is a logic flaw in the elasticsearch-certutil tool's CSR generation code path. While other certificate generation modes properly honor the --pass parameter and encrypt the private key using PKCS#8 password-based encryption, the CSR generation mode bypasses this encryption step entirely.

The private key is written directly to disk in unencrypted PEM format without checking or applying the password protection that was requested by the user. This appears to be an oversight in the tool's implementation where the CSR code path was not updated to include the same encryption logic used by other certificate generation modes.

Attack Vector

The attack vector is network-based with respect to the overall Elasticsearch deployment, though the actual exploitation requires file system access to retrieve the unencrypted private keys.

An attacker could exploit this vulnerability through several scenarios:

  1. Local Privilege Escalation: A low-privileged user on the Elasticsearch host could read unencrypted private keys and use them to impersonate cluster nodes or decrypt TLS traffic.

  2. Post-Compromise Credential Harvesting: After initial compromise of an Elasticsearch server, attackers can harvest private keys for persistent access or lateral movement.

  3. Insider Threat: System administrators or operators with legitimate file system access could exfiltrate private keys for malicious purposes.

  4. Backup Exposure: If file system backups are not properly secured, the unencrypted private keys could be exposed through backup media.

The vulnerability affects the confidentiality of the Elasticsearch deployment's cryptographic infrastructure. Compromised private keys can be used to perform man-in-the-middle attacks, decrypt captured TLS traffic, or forge certificates to impersonate legitimate cluster nodes.

Detection Methods for CVE-2024-23444

Indicators of Compromise

  • Presence of unencrypted private key files in directories where elasticsearch-certutil output is stored
  • Private key files lacking PKCS#8 encrypted format headers (files starting with -----BEGIN PRIVATE KEY----- instead of -----BEGIN ENCRYPTED PRIVATE KEY-----)
  • Evidence of unauthorized access to certificate storage directories
  • Suspicious certificate-related file access by non-administrative processes

Detection Strategies

  • Audit file system permissions on directories containing Elasticsearch certificates and private keys
  • Implement file integrity monitoring (FIM) on certificate storage locations to detect unauthorized access
  • Review historical usage of elasticsearch-certutil commands with the csr option to identify potentially compromised keys
  • Monitor for anomalous TLS connection patterns that might indicate use of stolen certificates

Monitoring Recommendations

  • Enable file access auditing on certificate directories using operating system audit frameworks (auditd on Linux, Windows Security Auditing)
  • Configure SentinelOne to monitor for suspicious access to PEM and key files in Elasticsearch directories
  • Implement alerting for any process other than Elasticsearch accessing private key files
  • Review and monitor certificate usage patterns across the Elasticsearch cluster for anomalies

How to Mitigate CVE-2024-23444

Immediate Actions Required

  • Upgrade Elasticsearch to version 8.13.0 or later (for 8.x branch) or version 7.17.23 or later (for 7.x branch)
  • Identify any certificates or CSRs generated using the vulnerable elasticsearch-certutil with the csr option
  • Regenerate all affected private keys and certificates using the patched version of the tool
  • Revoke any certificates associated with potentially compromised private keys
  • Review and restrict file system permissions on certificate storage directories

Patch Information

Elastic has released security patches addressing this vulnerability. The fixed versions are:

  • Elasticsearch 8.13.0 and later
  • Elasticsearch 7.17.23 and later

Administrators should consult the Elastic Security Update ESA-2024-12 for detailed upgrade instructions. Additional information is available in the NetApp Security Advisory NTAP-20250404-0001.

Workarounds

  • Manually encrypt private keys after generation using OpenSSL: openssl pkcs8 -topk8 -in unencrypted.key -out encrypted.key -v2 aes256
  • Restrict file system permissions to limit access to certificate directories (chmod 700 on certificate directories)
  • Avoid using the csr option with elasticsearch-certutil until upgrade is completed; use alternative certificate generation methods
  • Store certificates and keys in secure, encrypted storage volumes with strict access controls
bash
# Configuration example
# Manually encrypt an unencrypted private key generated by the vulnerable tool
openssl pkcs8 -topk8 -inform PEM -outform PEM -in /path/to/unencrypted-key.pem -out /path/to/encrypted-key.pem -v2 aes256

# Set restrictive permissions on certificate directories
chmod 700 /etc/elasticsearch/certs
chown -R elasticsearch:elasticsearch /etc/elasticsearch/certs

# Verify if a private key file is encrypted (should show "ENCRYPTED" in header)
head -1 /path/to/private-key.pem
# Encrypted: -----BEGIN ENCRYPTED PRIVATE KEY-----
# Unencrypted: -----BEGIN PRIVATE KEY-----

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechElastic Elasticsearch

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-311
  • Technical References
  • NetApp Security Advisory NTAP-20250404-0001
  • Vendor Resources
  • Elastic Discuss Security Update
  • Related CVEs
  • CVE-2021-22132: Elasticsearch Information Disclosure Flaw

  • CVE-2020-7021: Elasticsearch Information Disclosure Flaw

  • CVE-2020-7019: Elasticsearch Information Disclosure Flaw

  • CVE-2024-43709: Elastic Elasticsearch DOS Vulnerability
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