Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Web Vulnerabilities·Updated Nov 13, 2026

CVE-2026-27175 Scanner

CVE-2026-27175 Scanner - OS Command Injection vulnerability in MajorDoMo

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsurl
CostFree
3
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.2
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

MajorDoMo (aka Major Domestic Module) is vulnerable to unauthenticated OS command injection via rc/index.php. The $param variable from user input is interpolated into a command string within double quotes without sanitization via escapeshellarg(). The command is inserted into a database queue by safe_exec(), which performs no sanitization. The cycle_execs.php script, which is web-accessible without authentication, retrieves queued commands and passes them directly to exec(). An attacker can exploit a race condition by first triggering cycle_execs.php (which purges the queue and enters a polling loop), then injecting a malicious command via the rc endpoint while the worker is polling. The injected shell metacharacters expand inside double quotes, achieving remote code execution within one second.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
MajorDoMoby sergejey
0
Updated Nov 13, 2026View on NVD →
Detail

MajorDoMo is a popular home automation platform used by enthusiasts and developers to manage and control various smart-home devices. It provides an interface for users to interact with different automation tools and appliances within a smart home setup. The platform is typically hosted on a server or NAS device within the home network. Its primary goal is to offer customization and flexibility in managing home automation tasks through various modules and plugins. MajorDoMo is utilized by individuals seeking to integrate diverse IoT devices into a cohesive system, facilitating the automation of household tasks. Widely available and open-source, MajorDoMo continues to be a popular choice for tech-savvy users interested in DIY smart-home solutions.

The vulnerability present in MajorDoMo relates to a critical OS Command Injection arising due to improper input handling. Specifically, the vulnerability is within rc/index.php where user input is not correctly sanitized. This flaw allows an attacker to execute arbitrary operating system commands on the server hosting MajorDoMo. The vulnerability can be exploited without authentication, meaning any remote attacker can potentially control the server. If exploited, it could lead to a complete system compromise, allowing access to connected devices and sensitive data. Such a security lapse emphasizes the importance of input validation in web applications.

Technically, the vulnerability occurs because input supplied to the $param variable is interpolated into a command string without adequate sanitization. The error arises as this input is included within double quotes without the use of escapeshellarg(), a PHP function designed to escape such inputs. Consequently, when the cycle_execs.php script runs, it inadvertently executes the unsanitized command, granting attackers the ability to manipulate the server operations. It requires the cycle_execs.php worker process to be active, which is typically the case in most MajorDoMo installations. This misconfiguration effectively exposes the system to command injection attacks through the rc endpoint.

If exploited, attackers can execute OS commands with the same privileges as the MajorDoMo server, thereby essentially hijacking control over all connected smart home devices. Potential impacts include unauthorized control of home appliances, theft of sensitive data, and the ability to establish persistent backdoors into affected systems. Misuse of this access could lead to significant privacy breaches and disruption of automated home services. The overall risk necessitates prompt action to apply necessary patches and updates to affected MajorDoMo installations.

REFERENCES

Solution Advice
  • Update MajorDoMo to the latest version that includes the escapeShellArg() patch.
  • Apply MajorDoMo pull request #1177 for improved input sanitization.
  • Restrict network access to the vulnerability-prone rc endpoint using a firewall.
  • Monitor MajorDoMo logs for signs of unusual activity or command injection attempts.
  • Enable strict access control lists (ACLs) to limit server interaction to trusted IP addresses.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.