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-23596

CVE-2023-23596: Nginx Proxy Manager RCE Vulnerability

CVE-2023-23596 is a remote code execution vulnerability in Jc21 Nginx Proxy Manager through version 2.9.19. Attackers can exploit OS command injection via crafted credentials. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-23596 Overview

CVE-2023-23596 is an OS command injection vulnerability affecting jc21 NGINX Proxy Manager through version 2.9.19. When creating an access list, the backend builds an htpasswd file with crafted username and/or password input that is concatenated without any validation, and is directly passed to the exec command. This design flaw potentially allows an authenticated attacker to execute arbitrary commands on the underlying system. It is important to note that this vulnerability is not part of any NGINX software shipped by F5.

Critical Impact

Authenticated attackers can achieve remote code execution on systems running vulnerable versions of NGINX Proxy Manager, potentially leading to complete system compromise, data theft, or lateral movement within the network.

Affected Products

  • jc21 NGINX Proxy Manager versions up to and including 2.9.19
  • Systems with access list functionality enabled
  • Deployments allowing authenticated user input for access list creation

Discovery Timeline

  • 2023-01-20 - CVE-2023-23596 published to NVD
  • 2025-04-03 - Last updated in NVD database

Technical Details for CVE-2023-23596

Vulnerability Analysis

This vulnerability is classified as OS Command Injection (CWE-78), which occurs when an application constructs OS commands using externally-influenced input without proper neutralization. In the case of NGINX Proxy Manager, the access list functionality accepts user-supplied username and password values that are used to build htpasswd files. The backend code directly concatenates these user inputs into a command string that is subsequently passed to an exec function, creating an injection point for malicious commands.

The vulnerability is exploitable over the network and requires low privileges (authenticated user access). No user interaction is required for exploitation, and successful attacks can result in high impact to confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of CVE-2023-23596 lies in the improper handling of user input within the access-list.js backend component. Specifically, the code responsible for generating htpasswd entries fails to validate or sanitize the username and password fields before concatenating them into a shell command. This allows specially crafted input containing shell metacharacters or command separators to break out of the intended command context and execute arbitrary commands with the privileges of the NGINX Proxy Manager process.

Attack Vector

The attack is network-based and requires authentication to the NGINX Proxy Manager interface. An attacker with valid credentials can exploit this vulnerability through the following attack flow:

  1. Authenticate to the NGINX Proxy Manager web interface
  2. Navigate to the access list creation functionality
  3. Craft a malicious username or password containing shell command injection payloads (e.g., command separators like ;, |, or $() constructs)
  4. Submit the access list creation request
  5. The backend processes the input without validation and executes the injected commands

The vulnerable code path is located in the backend's access-list.js file at the htpasswd generation logic. For technical details, see the GitHub NginxProxyManager Code Review and DW1 Security Advisory #57.

Detection Methods for CVE-2023-23596

Indicators of Compromise

  • Unusual process spawning from the NGINX Proxy Manager backend process (Node.js)
  • Unexpected outbound network connections originating from the Proxy Manager server
  • Access list entries containing shell metacharacters such as ;, |, &&, ||, or $()
  • Anomalous system commands in process logs following access list creation events

Detection Strategies

  • Monitor the access-list.js execution context for abnormal child process creation using endpoint detection tools
  • Implement web application firewall (WAF) rules to detect command injection patterns in access list API requests
  • Review NGINX Proxy Manager logs for access list creation requests with suspicious username or password patterns
  • Deploy SentinelOne Singularity to detect and block unauthorized command execution attempts

Monitoring Recommendations

  • Enable detailed logging for the NGINX Proxy Manager application and monitor for command injection indicators
  • Implement network segmentation to limit the blast radius of potential compromise
  • Configure alerting for privilege escalation attempts or unexpected administrative actions on Proxy Manager hosts
  • Regularly audit access list configurations for anomalous or suspicious entries

How to Mitigate CVE-2023-23596

Immediate Actions Required

  • Upgrade NGINX Proxy Manager to a version newer than 2.9.19 that addresses this vulnerability
  • Audit existing access list entries for signs of exploitation or malicious content
  • Review user accounts with access to the Proxy Manager interface and revoke unnecessary privileges
  • Consider placing the NGINX Proxy Manager behind additional authentication layers

Patch Information

Organizations should update to the latest version of jc21 NGINX Proxy Manager that includes fixes for this command injection vulnerability. Review the project's official repository and release notes for patched versions. For detailed information about the vulnerability, refer to DW1 Security Advisory #57.

Workarounds

  • Restrict access to the NGINX Proxy Manager interface to trusted networks only using firewall rules
  • Implement strong authentication and limit the number of users with access list creation privileges
  • Deploy a reverse proxy or WAF in front of NGINX Proxy Manager to filter malicious input patterns
  • Monitor and log all access list creation and modification activities for forensic analysis
bash
# Example: Restrict NGINX Proxy Manager access to trusted IPs using iptables
iptables -A INPUT -p tcp --dport 81 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 81 -j DROP

# Example: Enable verbose logging for audit purposes
# Add to your NGINX Proxy Manager configuration
# Set LOG_LEVEL=debug in the container environment variables

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJc21 Nginx Proxy Manager

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability4.76%

  • 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-78
  • Technical References
  • DW1 Security Advisory #57

  • GitHub NginxProxyManager Code Review
  • Related CVEs
  • CVE-2024-46257: Nginx Proxy Manager 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