Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2023-50917: Unauthenticated command injection in MajorDoMo thumbnail module

Published Dec 15, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS37.1%99th percentile
CISA KEVNoNot listed
In the wildReported12 exploitation records in Mallory
Vendor
Mjdm
IdentifiersCVE-2023-50917CWE-78

CVE-2023-50917 is an unauthenticated OS command injection vulnerability in the thumbnail module of MajorDoMo (Major Domestic Module) before commit 0662e5e. Attacker-controlled input containing shell metacharacters can cause execution of arbitrary operating-system commands. The affected product is the home automation platform, not the similarly named Majordomo mailing-list manager.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote, unauthenticated attacker can execute arbitrary commands with the privileges of the affected server process. Depending on those privileges, exploitation can compromise application data and configuration, modify accessible files, and disrupt the home automation service. Elevated privileges or unrestricted control of the host are not established.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict external access to the affected MajorDoMo instance, especially to thumb.php and other web-exposed components. Apply network ACLs, reverse-proxy restrictions, or VPN-only access to limit reachability. As a defense-in-depth measure, harden the web server/PHP runtime account with minimal privileges and monitor for suspicious requests containing shell metacharacters targeting thumb.php.

Remediation

Patch, then assume compromise.

Update MajorDoMo to a revision containing commit 0662e5e or a later release incorporating that fix.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
majordomo_cmd_inject_cve_2023_50917.rbThis repository contains a single Metasploit module targeting a command injection vulnerability (CVE-2023-50917) in MajorDoMo home automation software (versions before commit 0662e5e). The exploit leverages a vulnerable GET parameter ('transport') in the /modules/thumb/thumb.php endpoint to inject and execute arbitrary shell commands on the target system. The module includes a check method to verify the presence of MajorDoMo by requesting /favicon.ico and checking its MD5 hash, and then tests for the vulnerability by timing a sleep command. The exploit is operational, allowing remote command execution as the web server user. The code is written in Ruby and structured as a standard Metasploit exploit module.Disclosed Dec 15, 2023 · Framework: metasploit · ruby · networkWeaponizedCVE-2023-50917This repository provides a working exploit for CVE-2023-50917, a critical unauthenticated remote code execution (RCE) vulnerability in MajorDoMo's thumb.php module. The exploit consists of a Python script (exploit.py) that interacts with the vulnerable endpoint '/modules/thumb/thumb.php' on a target MajorDoMo instance. The script provides an interactive shell-like interface, allowing the attacker to send arbitrary system commands to the target server via the 'transport' parameter, which is vulnerable to command injection due to lack of input sanitization. The exploit leverages a base64-encoded 'url' parameter to bypass initial validation and injects commands using a crafted 'transport' value. The output of the executed command is extracted from the HTTP response and displayed to the attacker. The repository also includes a README.md with a detailed technical write-up and a requirements.txt listing Python dependencies. The exploit is operational and can be used to gain remote shell access to unpatched MajorDoMo installations.Chocapikk · Disclosed Oct 29, 2023 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
MjdmMajordomoapplication
FAQ

Frequently asked questions

Is CVE-2023-50917 exploited in the wild?
Yes. As of Oct 24, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2023-50917?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-50917, the earliest disclosed Oct 29, 2023.
Is there a patch for CVE-2023-50917?
Update MajorDoMo to a revision containing commit 0662e5e or a later release incorporating that fix.
What products are affected by CVE-2023-50917?
Mjdm Majordomo.
How severe is CVE-2023-50917?
CVE-2023-50917 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 37.1% (99th percentile) as of Oct 24, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.