CVE-2026-27181: Missing Authorization in sergejey MajorDoMo
MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module uninstallation through the market module. The market module's admin() method reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of execution, making all mode-gated code paths reachable without authentication via the /objects/?module=market endpoint. The uninstall mode handler calls uninstallPlugin(), which deletes module records from the database, executes the module's uninstall() method via eval(), recursively deletes the module's directory and template files using removeTree(), and removes associated cycle scripts. An attacker can iterate through module names and wipe the entire MajorDoMo installation with a series of unauthenticated GET requests.
AI Analysis
Technical Summary
The vulnerability CVE-2026-27181 affects MajorDoMo, an open-source home automation system developed by sergejey. The core issue lies in the market module's admin() method, which reads the 'mode' parameter from HTTP request variables ($_REQUEST) and assigns it to an internal variable without any authentication or authorization checks. This design flaw allows unauthenticated users to access all mode-gated functionalities, including the 'uninstall' mode. When triggered, the uninstall mode handler calls uninstallPlugin(), which performs several destructive actions: it deletes the module's database records, executes the module's uninstall() method via eval(), recursively removes the module's directory and template files using removeTree(), and deletes any associated cycle scripts. Because the endpoint is accessible via unauthenticated GET requests to /objects/?module=market, an attacker can script a series of requests to uninstall multiple or all modules, effectively wiping the entire MajorDoMo installation. The vulnerability requires no privileges, no user interaction, and has a low attack complexity, resulting in a CVSS 4.0 score of 8.7 (high severity). This vulnerability compromises system integrity and availability, potentially rendering the automation platform inoperable and causing significant disruption to dependent services.
Potential Impact
For European organizations relying on MajorDoMo for smart home or building automation, this vulnerability poses a critical risk to operational continuity. Successful exploitation results in complete removal of installed modules, leading to loss of automation functionality, disruption of critical building management systems, and potential safety hazards if security or environmental controls are affected. The integrity of the system is compromised as attackers can execute arbitrary uninstall scripts, possibly leading to further malicious actions. Availability is severely impacted as the platform may become non-functional until restored. Organizations may face downtime, increased operational costs, and reputational damage. Additionally, if MajorDoMo is integrated with other systems, cascading failures or data inconsistencies could occur. Given the unauthenticated nature of the exploit, any exposed MajorDoMo instance accessible from the internet or untrusted networks is at immediate risk.
Mitigation Recommendations
1. Immediately restrict access to the /objects/?module=market endpoint by implementing network-level controls such as firewall rules or VPN requirements to limit access to trusted administrators only. 2. Deploy web application firewalls (WAFs) with custom rules to detect and block requests containing the 'mode=uninstall' parameter or suspicious module uninstallation patterns. 3. Monitor web server logs for unusual GET requests targeting the market module, especially those attempting to uninstall modules. 4. Apply vendor patches or updates as soon as they become available to fix the authorization bypass. 5. If patching is not immediately possible, consider disabling or removing the market module temporarily to prevent exploitation. 6. Implement strong authentication and authorization mechanisms for all administrative endpoints to prevent unauthenticated access. 7. Regularly back up MajorDoMo configurations and modules to enable rapid recovery in case of compromise. 8. Conduct internal audits to identify exposed MajorDoMo instances and remediate exposure to untrusted networks. 9. Educate administrators about this vulnerability and the importance of securing management interfaces.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Denmark, Finland, Belgium, Italy, Spain
CVE-2026-27181: Missing Authorization in sergejey MajorDoMo
Description
MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module uninstallation through the market module. The market module's admin() method reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of execution, making all mode-gated code paths reachable without authentication via the /objects/?module=market endpoint. The uninstall mode handler calls uninstallPlugin(), which deletes module records from the database, executes the module's uninstall() method via eval(), recursively deletes the module's directory and template files using removeTree(), and removes associated cycle scripts. An attacker can iterate through module names and wipe the entire MajorDoMo installation with a series of unauthenticated GET requests.
AI-Powered Analysis
Technical Analysis
The vulnerability CVE-2026-27181 affects MajorDoMo, an open-source home automation system developed by sergejey. The core issue lies in the market module's admin() method, which reads the 'mode' parameter from HTTP request variables ($_REQUEST) and assigns it to an internal variable without any authentication or authorization checks. This design flaw allows unauthenticated users to access all mode-gated functionalities, including the 'uninstall' mode. When triggered, the uninstall mode handler calls uninstallPlugin(), which performs several destructive actions: it deletes the module's database records, executes the module's uninstall() method via eval(), recursively removes the module's directory and template files using removeTree(), and deletes any associated cycle scripts. Because the endpoint is accessible via unauthenticated GET requests to /objects/?module=market, an attacker can script a series of requests to uninstall multiple or all modules, effectively wiping the entire MajorDoMo installation. The vulnerability requires no privileges, no user interaction, and has a low attack complexity, resulting in a CVSS 4.0 score of 8.7 (high severity). This vulnerability compromises system integrity and availability, potentially rendering the automation platform inoperable and causing significant disruption to dependent services.
Potential Impact
For European organizations relying on MajorDoMo for smart home or building automation, this vulnerability poses a critical risk to operational continuity. Successful exploitation results in complete removal of installed modules, leading to loss of automation functionality, disruption of critical building management systems, and potential safety hazards if security or environmental controls are affected. The integrity of the system is compromised as attackers can execute arbitrary uninstall scripts, possibly leading to further malicious actions. Availability is severely impacted as the platform may become non-functional until restored. Organizations may face downtime, increased operational costs, and reputational damage. Additionally, if MajorDoMo is integrated with other systems, cascading failures or data inconsistencies could occur. Given the unauthenticated nature of the exploit, any exposed MajorDoMo instance accessible from the internet or untrusted networks is at immediate risk.
Mitigation Recommendations
1. Immediately restrict access to the /objects/?module=market endpoint by implementing network-level controls such as firewall rules or VPN requirements to limit access to trusted administrators only. 2. Deploy web application firewalls (WAFs) with custom rules to detect and block requests containing the 'mode=uninstall' parameter or suspicious module uninstallation patterns. 3. Monitor web server logs for unusual GET requests targeting the market module, especially those attempting to uninstall modules. 4. Apply vendor patches or updates as soon as they become available to fix the authorization bypass. 5. If patching is not immediately possible, consider disabling or removing the market module temporarily to prevent exploitation. 6. Implement strong authentication and authorization mechanisms for all administrative endpoints to prevent unauthenticated access. 7. Regularly back up MajorDoMo configurations and modules to enable rapid recovery in case of compromise. 8. Conduct internal audits to identify exposed MajorDoMo instances and remediate exposure to untrusted networks. 9. Educate administrators about this vulnerability and the importance of securing management interfaces.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-02-18T15:22:30.054Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69962e786aea4a407ae9220d
Added to database: 2/18/2026, 9:26:16 PM
Last enriched: 2/18/2026, 9:41:01 PM
Last updated: 2/21/2026, 12:18:03 AM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-27203: CWE-15: External Control of System or Configuration Setting in YosefHayim ebay-mcp
HighCVE-2026-27168: CWE-122: Heap-based Buffer Overflow in HappySeaFox sail
HighCVE-2026-27134: CWE-287: Improper Authentication in strimzi strimzi-kafka-operator
HighCVE-2026-27190: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in denoland deno
HighCVE-2026-27026: CWE-770: Allocation of Resources Without Limits or Throttling in py-pdf pypdf
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.