Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-3997

CVE-2023-3997: Splunk SOAR RCE Vulnerability

CVE-2023-3997 is a remote code execution vulnerability in Splunk SOAR caused by log file poisoning through ANSI characters. This article covers the technical details, affected versions, impact, and mitigation steps.

Published: February 4, 2026

CVE-2023-3997 Overview

CVE-2023-3997 is a log file poisoning vulnerability affecting Splunk SOAR (Security Orchestration, Automation and Response) versions lower than 6.1.0. This vulnerability allows a third party to send maliciously crafted web requests containing special ANSI escape characters to poison log files. When a terminal user attempts to view these poisoned logs, the ANSI sequences can tamper with the terminal emulator and potentially lead to malicious code execution through the terminal user's actions.

Critical Impact

Attackers can inject malicious ANSI escape sequences into log files, potentially leading to code execution when administrators review logs via terminal, compromising the security of SOAR infrastructure.

Affected Products

  • Splunk SOAR (On-Premises) versions prior to 6.1.0
  • Splunk SOAR (Cloud) versions prior to 6.1.0

Discovery Timeline

  • 2023-07-31 - CVE-2023-3997 published to NVD
  • 2024-12-10 - Last updated in NVD database

Technical Details for CVE-2023-3997

Vulnerability Analysis

This vulnerability is classified under CWE-117 (Improper Output Neutralization for Logs) and CWE-116 (Improper Encoding or Escaping of Output). The core issue lies in insufficient sanitization of user-controlled input before it is written to log files. When web requests containing ANSI escape sequences are processed by Splunk SOAR, these special characters are written directly to log files without proper neutralization.

ANSI escape sequences are control characters used to manipulate terminal display properties such as cursor position, text color, and screen clearing. However, certain terminal emulators interpret additional escape sequences that can trigger dangerous behaviors, including executing arbitrary commands or modifying the terminal's title to mislead users.

The attack chain requires user interaction—specifically, a terminal user must view the poisoned logs using commands like cat, less, or tail. This makes the vulnerability particularly insidious as it targets security administrators who routinely review logs as part of incident response or system monitoring activities.

Root Cause

The root cause of CVE-2023-3997 is the failure to properly sanitize or encode ANSI escape sequences and other special characters in user-supplied input before writing them to log files. Splunk SOAR's logging mechanism does not strip or escape these control characters from incoming web requests, allowing them to persist in the log output. This violates the principle of treating log files as trusted data sources, creating an indirect attack vector through log viewers.

Attack Vector

The attack requires local access to the terminal where logs are being viewed, though the initial payload delivery occurs remotely via malicious web requests. An attacker crafts HTTP requests containing ANSI escape sequences in headers, parameters, or body content that gets logged by Splunk SOAR. These sequences remain dormant in the log files until a user with terminal access attempts to view them.

When the logs are displayed in a vulnerable terminal emulator, the escape sequences are interpreted and executed. Depending on the terminal's capabilities, this could result in arbitrary command execution, display manipulation to hide malicious activity, or social engineering attacks through modified terminal output. The attack does not require prior authentication to Splunk SOAR, as the malicious requests simply need to be logged by the system.

Detection Methods for CVE-2023-3997

Indicators of Compromise

  • Presence of ANSI escape sequences (hex values \\x1b, \\x9b, or the pattern \033[) in Splunk SOAR log files
  • Unusual HTTP requests with control characters in headers, query parameters, or request bodies
  • Unexpected terminal behavior when viewing Splunk SOAR logs, such as screen clearing, cursor movement, or color changes

Detection Strategies

  • Implement log file scanning to detect ANSI escape sequences and other control characters that should not be present in legitimate log entries
  • Monitor incoming web requests for unusual character patterns, particularly escape sequences in HTTP headers and parameters
  • Deploy file integrity monitoring on Splunk SOAR log directories to detect unexpected modifications or suspicious content patterns

Monitoring Recommendations

  • Configure SIEM rules to alert on HTTP requests containing suspected ANSI escape sequences or control characters
  • Implement terminal session recording for administrative access to identify potential exploitation attempts during log review
  • Enable verbose logging on web application firewalls to capture and analyze requests with unusual character encodings

How to Mitigate CVE-2023-3997

Immediate Actions Required

  • Upgrade Splunk SOAR to version 6.1.0 or later immediately to address this vulnerability
  • Review existing log files for signs of ANSI escape sequence injection before upgrading
  • Instruct administrators to use safe log viewing methods such as cat -v or less -R which display control characters visibly rather than interpreting them

Patch Information

Splunk has addressed this vulnerability in Splunk SOAR version 6.1.0. The patch implements proper sanitization of log output to prevent ANSI escape sequences from being written to log files. Organizations should apply this update as soon as possible. For detailed patch information, refer to the Splunk Security Advisory SVD-2023-0702.

Workarounds

  • Use the cat -v command to view log files, which displays control characters visibly instead of interpreting them
  • Configure terminal emulators to disable interpretation of potentially dangerous escape sequences
  • Implement a log sanitization layer that strips ANSI escape sequences before logs are written to disk
  • Restrict terminal access to Splunk SOAR log files to essential personnel only
bash
# Safe log viewing configuration example
# Use cat with -v flag to show non-printing characters
cat -v /var/log/phantom/phantom_server.log

# Alternatively, use sed to strip ANSI codes when viewing logs
sed 's/\\x1b\[[0-9;]*m//g' /var/log/phantom/phantom_server.log | less

# Configure less to not interpret escape sequences
export LESSSECURE=1
less /var/log/phantom/phantom_server.log

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSplunk Soar

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-117

  • CWE-116
  • Vendor Resources
  • Splunk Security Advisory SVD-2023-0702
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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