This module exploits an unauthenticated remote code execution vulnerability in MajorDoMo's saverestore module via supply chain poisoning. The saverestore module's admin() method is reachable without authentication through the /objects/?module=saverestore endpoint because usual() calls admin() directly and uses gr() (which reads from $_REQUEST) instead of $this->mode for mode checks. Two unauthenticated GET requests chain together for full RCE: 1. auto_update_settings - poisons the MASTER_UPDATE_URL to point to an attacker-controlled server 2. force_update - triggers autoUpdateSystem() which fetches an Atom feed and tarball from the poisoned URL, extracts the tarball, and copies all files to the webroot via copyTree() The tarball is downloaded via curl with CURLOPT_SSL_VERIFYPEER set to FALSE and no integrity check. The attacker serves a fake Atom feed with an entry older than the configured delay (default 1 day) and a tarball containing a PHP webshell. After deployment, the module executes the payload through the webshell. All versions of MajorDoMo up to and including the latest release are affected. The fix is tracked in PR sergejey/majordomo#1177.
Vulnerability
CVE-2026-27180
MajorDoMo Supply Chain Remote Code Execution via Update URL Poisoning
Vulnerability details
- Score
- 9.3
- Severity
- critical
CVSS 4.0 · VulnCheck
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NDescription
MajorDoMo (aka Major Domestic Module) is vulnerable to unauthenticated remote code execution through supply chain compromise via update URL poisoning. The saverestore module exposes its admin() method through the /objects/?module=saverestore endpoint without authentication because it uses gr('mode') (which reads directly from $_REQUEST) instead of the framework's $this->mode. An attacker can poison the system update URL via the auto_update_settings mode handler, then trigger the force_update handler to initiate the update chain. The autoUpdateSystem() method fetches an Atom feed from the attacker-controlled URL with trivial validation, downloads a tarball via curl with TLS verification disabled (CURLOPT_SSL_VERIFYPEER set to FALSE), extracts it using exec('tar xzvf ...'), and copies all extracted files to the document root using copyTree(). This allows an attacker to deploy arbitrary PHP files, including webshells, to the webroot with two GET requests.
CVE Program