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

CVE-2023-50917: Mjdm Majordomo RCE Vulnerability

CVE-2023-50917 is a remote code execution vulnerability in MajorDoMo that allows attackers to execute commands via shell metacharacters in thumb.php. This article covers technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2023-50917 Overview

CVE-2023-50917 is a command injection vulnerability in MajorDoMo (Major Domestic Module), an open-source home automation platform. The vulnerability exists in the thumb.php file, which fails to properly sanitize user-supplied input, allowing attackers to inject shell metacharacters and execute arbitrary commands on the underlying system. This flaw enables unauthenticated remote code execution, making it a severe threat to any exposed MajorDoMo installation.

Critical Impact

Unauthenticated attackers can achieve full remote code execution on systems running vulnerable MajorDoMo installations via command injection in thumb.php, potentially compromising the entire home automation infrastructure and connected IoT devices.

Affected Products

  • MajorDoMo (Major Domestic Module) versions before commit 0662e5e
  • All MajorDoMo installations with exposed thumb.php endpoint
  • Home automation systems running unpatched MajorDoMo software

Discovery Timeline

  • December 2023 - Vulnerability publicly disclosed via Full Disclosure mailing list
  • 2023-12-15 - CVE-2023-50917 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-50917

Vulnerability Analysis

This vulnerability falls under CWE-77 (Improper Neutralization of Special Elements used in a Command). The thumb.php script in MajorDoMo processes user input that is subsequently passed to shell commands without adequate sanitization. An attacker can craft malicious requests containing shell metacharacters that escape the intended command context and execute arbitrary system commands with the privileges of the web server user.

The attack requires no authentication, meaning any network-accessible MajorDoMo installation is at risk. Given that MajorDoMo is a home automation platform, successful exploitation could grant attackers control over connected smart home devices, surveillance systems, and other IoT infrastructure. The vulnerability has an extremely high EPSS score of 92.755% (99th percentile), indicating a very high probability of exploitation in the wild.

Root Cause

The root cause is insufficient input validation and improper handling of shell metacharacters in the thumb.php file. User-controlled input is passed directly to system commands without proper escaping or sanitization, allowing attackers to break out of the intended command context using characters such as semicolons (;), pipes (|), backticks (`), or command substitution syntax ($()).

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can send specially crafted HTTP requests to the thumb.php endpoint containing shell metacharacters. When the server processes these requests, the injected commands are executed in the context of the web server, typically allowing the attacker to:

  • Execute arbitrary system commands
  • Download and execute malware
  • Establish reverse shells for persistent access
  • Access or modify files on the system
  • Pivot to attack other devices on the network

The vulnerability is exploited by embedding shell metacharacters in parameters processed by thumb.php. When these parameters are passed to shell commands without proper sanitization, the injected commands are executed. Technical details and proof-of-concept information are available through the Packet Storm RCE Exploit and Full Disclosure Announcement.

Detection Methods for CVE-2023-50917

Indicators of Compromise

  • Unusual HTTP requests to thumb.php containing shell metacharacters such as ;, |, &, backticks, or $()
  • Web server access logs showing requests with URL-encoded command sequences targeting thumb.php
  • Unexpected child processes spawned from the web server process (Apache, nginx, PHP-FPM)
  • Outbound network connections from the MajorDoMo server to unknown external hosts

Detection Strategies

  • Deploy web application firewall (WAF) rules to block requests containing shell metacharacters in parameters sent to thumb.php
  • Monitor HTTP access logs for patterns indicative of command injection attempts, such as %3B, %7C, %60, or %24%28 sequences
  • Implement endpoint detection to alert on suspicious process chains originating from web server processes
  • Review file integrity monitoring alerts for unexpected modifications to MajorDoMo installation files

Monitoring Recommendations

  • Enable verbose logging for the web server hosting MajorDoMo and centralize logs for analysis
  • Configure alerts for any outbound connections from the MajorDoMo server to external IP addresses on non-standard ports
  • Monitor system process trees for shells or command interpreters spawned by PHP or the web server
  • Implement network segmentation monitoring to detect lateral movement from compromised home automation systems

How to Mitigate CVE-2023-50917

Immediate Actions Required

  • Update MajorDoMo to a version that includes commit 0662e5e or later immediately
  • If patching is not immediately possible, restrict network access to the MajorDoMo installation using firewall rules
  • Review web server logs for evidence of exploitation attempts or successful attacks
  • Consider taking vulnerable instances offline until patching is complete

Patch Information

The vulnerability has been addressed in the MajorDoMo GitHub repository. The fix is available in the following commits:

  • Commit 0662e5e - Primary security fix
  • Commit 3ec3ffb - Additional hardening

Users should pull the latest code from the repository or update to a release version that includes these commits. Verify the integrity of your installation after updating.

Workarounds

  • Implement strict firewall rules to prevent external access to the MajorDoMo web interface, limiting access to trusted internal networks only
  • Deploy a reverse proxy with WAF capabilities in front of MajorDoMo to filter malicious requests containing shell metacharacters
  • Disable or remove the thumb.php file if the thumbnail functionality is not required for your deployment
  • Run the MajorDoMo web server under a restricted user account with minimal filesystem and system permissions
bash
# Example firewall configuration to restrict access to MajorDoMo
# Allow only local network access to MajorDoMo (adjust subnet as needed)
iptables -A INPUT -p tcp --dport 80 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMjdm Majordomo

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability92.75%

  • 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
  • CWE-77
  • Technical References
  • Packet Storm RCE Exploit

  • Packet Storm Command Injection

  • Full Disclosure Announcement
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update
  • 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