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-2023-48085

CVE-2023-48085: Nagios XI RCE Vulnerability

CVE-2023-48085 is a remote code execution vulnerability in Nagios XI affecting versions before 5.11.3 through the command_test.php component. This article covers technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-48085 Overview

CVE-2023-48085 is a critical Remote Code Execution (RCE) vulnerability discovered in Nagios XI, a widely deployed enterprise network monitoring platform. The vulnerability exists in the command_test.php component and allows unauthenticated attackers to execute arbitrary commands on affected systems through network-accessible attack vectors. Organizations running Nagios XI versions prior to 5.11.3 are at significant risk of complete system compromise.

Critical Impact

This vulnerability enables remote attackers to achieve arbitrary code execution on Nagios XI servers without authentication, potentially leading to complete infrastructure compromise, data exfiltration, and lateral movement across monitored network environments.

Affected Products

  • Nagios XI versions prior to 5.11.3
  • All Nagios XI installations with the command_test.php component accessible
  • Enterprise and standard deployments of Nagios XI monitoring platform

Discovery Timeline

  • 2023-12-14 - CVE-2023-48085 published to NVD
  • 2025-05-22 - Last updated in NVD database

Technical Details for CVE-2023-48085

Vulnerability Analysis

The vulnerability resides within the command_test.php component of Nagios XI, a file typically used for testing monitoring commands within the platform's administrative interface. This component fails to properly sanitize user-supplied input before passing it to system command execution functions, creating a direct pathway for command injection attacks.

Nagios XI is a comprehensive network monitoring solution that relies heavily on executing system commands to check the status of hosts and services. The command_test.php script was designed to allow administrators to test these commands before deployment, but insufficient input validation transforms this utility into an attack vector. An attacker with network access to the Nagios XI web interface can craft malicious requests that inject arbitrary shell commands into the execution context.

The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), indicating a fundamental flaw in how user input is handled before code or command execution. Given the network monitoring role of Nagios XI, successful exploitation typically grants attackers elevated privileges and access to sensitive network infrastructure information.

Root Cause

The root cause of CVE-2023-48085 is improper input validation and sanitization in the command_test.php component. The script accepts user-controlled parameters and incorporates them into system command execution without adequate filtering or escaping of shell metacharacters. This allows attackers to break out of the intended command context and inject their own malicious commands for execution with the privileges of the web server process.

Attack Vector

The attack vector is network-based, requiring no user interaction or authentication credentials. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to the command_test.php endpoint on vulnerable Nagios XI installations. The malicious payload leverages shell metacharacters or command separators to inject arbitrary commands that execute within the server's operating system context.

The exploitation mechanism involves manipulating parameters passed to the command testing functionality. By injecting shell metacharacters such as semicolons, backticks, or pipe operators, an attacker can append or substitute their own commands to be executed by the underlying system. For detailed technical information, refer to the Nagios Security Advisory.

Detection Methods for CVE-2023-48085

Indicators of Compromise

  • Unusual HTTP requests to command_test.php containing shell metacharacters (;, |, `, $()) in parameter values
  • Unexpected process spawning from the web server process (apache/nginx/php-fpm)
  • Anomalous outbound network connections originating from the Nagios XI server
  • New or modified files in web-accessible directories or system locations
  • Suspicious entries in web server access logs showing encoded or obfuscated payloads targeting the vulnerable endpoint

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block command injection patterns in requests to command_test.php
  • Deploy network intrusion detection systems (IDS) with signatures for common RCE exploitation patterns
  • Enable comprehensive logging on the Nagios XI server and forward logs to a SIEM for correlation and analysis
  • Monitor for unexpected child processes spawned by web server or PHP processes

Monitoring Recommendations

  • Establish baseline behavior for the Nagios XI application and alert on deviations in process execution patterns
  • Configure file integrity monitoring (FIM) on critical Nagios XI directories to detect unauthorized modifications
  • Implement network segmentation monitoring to detect lateral movement attempts from potentially compromised monitoring infrastructure
  • Review web server logs regularly for requests containing suspicious encoded characters or command injection attempts

How to Mitigate CVE-2023-48085

Immediate Actions Required

  • Upgrade Nagios XI to version 5.11.3 or later immediately to remediate the vulnerability
  • Restrict network access to the Nagios XI web interface using firewall rules and access control lists (ACLs)
  • Implement web application firewall (WAF) rules to filter malicious input patterns targeting command_test.php
  • Conduct a security audit of Nagios XI servers to identify any signs of prior exploitation

Patch Information

Nagios has addressed this vulnerability in Nagios XI version 5.11.3. Organizations should upgrade to this version or later to remediate the vulnerability. The security patch implements proper input validation and sanitization for the affected command_test.php component. Detailed patch information and download links are available on the Nagios Security Page.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling or removing the command_test.php file
  • Implement strict IP-based access controls to limit access to the Nagios XI administrative interface to trusted networks only
  • Deploy a reverse proxy with input filtering capabilities in front of the Nagios XI web server
  • Monitor all access to the Nagios XI web interface and implement alerting for suspicious request patterns
bash
# Restrict access to command_test.php via Apache configuration
<Files "command_test.php">
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Files>

# Or disable the file entirely until patching is complete
# mv /usr/local/nagiosxi/html/includes/components/command_test.php /usr/local/nagiosxi/html/includes/components/command_test.php.disabled

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNagios

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability62.40%

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

  • CWE-94
  • Vendor Resources
  • Nagios Security Information
  • Related CVEs
  • CVE-2026-2041: Nagios XI Command Injection RCE Vulnerability

  • CVE-2026-2042: Nagios XI Command Injection RCE Vulnerability

  • CVE-2026-2043: Nagios XI Command Injection RCE Vulnerability

  • CVE-2021-37343: Nagios XI Path Traversal RCE 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