Skip to content

About

Detection-only triage for Movable Type CVE-2026-125615 (CVSS 9.8, unauthenticated RCE in mt-wizard.cgi, exploited in the wild): version grading, wizard-presence probe, local install check, access-log hunt.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

movabletype-scanner

Detection-only triage for Movable Type CVE-2026-125615 — unauthenticated OS command injection in the installation wizard, CVSS 9.8, exploited in the wild. The wizard script mt-wizard.cgi runs attacker-controlled input through shell commands with no login, so a crafted request to a file that should have been deleted after setup becomes remote code execution as the web server account. Grades your version against the fix table, reads the version from a local install's lib/MT.pm, fingerprints a live site from public reads, probes the wizard with a single plain GET to learn whether the file is still present and reachable, and hunts your access logs for any request to it. Nothing here sends a payload, submits the wizard form, POSTs to the wizard, or sends a crafted request of any kind.

What it checks

The flaw has one moving part and one habit that makes it hurt. The moving part is mt-wizard.cgi, the setup wizard. It takes configuration values from the request and passes them to shell commands without the checks that would keep them inert, so a remote guest can run operating-system commands on the host (MTC-31923, CVE-2026-125615, CWE-78). The habit is that the wizard is only needed during the initial installation, but it ships with every release and stays on the server afterwards — a site set up years ago can still be carrying an unauthenticated entry point it does not need, on a script nobody has looked at since install day. Six Apart disclosed the flaw and shipped fixes on 1 Dec 2026 and says attacks exploiting it have already been observed. JVN (JVN#73624238) and the CVE record published by JPCERT/CC as CNA score it CVSS 3.0 9.8 and CVSS 4.0 9.3.

Field Value
Flaw CVE-2026-125615 — OS command injection in mt-wizard.cgi, unauthenticated to RCE (CWE-78, MTC-31923)
CVSS 9.8 (CVSS 3.0, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) / 9.3 (CVSS 4.0) — same flaw, two versions of the score; both call it critical
Affected 9.3.1 and earlier, 9.0.11 and earlier, 8.8.7 and earlier; Premium 2.19 and earlier; every version from 3.3 onward, including end-of-life branches
Fixed 9.3.2, 9.0.12, 8.8.8; Premium 9.3.2, 9.0.12, 2.20 (all released 1 Dec 2026)
Exploitation Attacks observed (Six Apart, 1 Dec 2026); no public exploit code and no public indicators confirmed at the time of writing
CISA KEV Not listed as of the 1 Dec 2026 checks
Companion MTC-31919 (recursive requests during configuration validation), fixed in the same releases, no CVE
Cloud Movable Type Cloud updated by Six Apart on 1 Dec 2026 in every customer environment, including ones with automatic updates off; MovableType.net is not affected

Usage

# grade a version string
python3 movabletype_scanner.py --version "9.3.1"
python3 movabletype_scanner.py --version "9.3.2"
python3 movabletype_scanner.py --version "Movable Type Premium 2.19"

# a local install: version from lib/MT.pm, plus whether the wizard
# file is still on disk
python3 movabletype_scanner.py --local-dir /var/www/cgi-bin/mt

# a live site: one plain GET of the front page, its Atom feed if the
# page links one, and the login page if the version is still hidden;
# then one plain GET of mt-wizard.cgi — no POST, no payloads
python3 movabletype_scanner.py --url https://blog.example.com

# the CGI scripts live somewhere other than /mt
python3 movabletype_scanner.py --url https://example.com --cgi-path /cgi-bin/mt

# hunt an access log for any request to mt-wizard.cgi
python3 movabletype_scanner.py --version "9.3.1" --access-log /var/log/apache2/access.log

# a whole fleet at once
python3 movabletype_scanner.py --inventory-json fleet.json

# machine output / the advisory summary
python3 movabletype_scanner.py --version "9.3.1" --json
python3 movabletype_scanner.py --list

--url reads the version the way the site already publishes it. Movable Type's default templates emit <meta name="generator" content="Movable Type 9.3.1" /> on every published page, and its Atom feeds carry <generator>Movable Type 9.3.1</generator>, so the scanner reads the front page first, follows the feed link if the page has no tag, and falls back to the login page. Then it does one plain GET of mt-wizard.cgi: a 404 means the file is gone (the vendor workaround applied), a 200 with wizard content, a redirect back into the application, or a 403 means it is still there. --local-dir reads the version from lib/MT.pm — the dotted $PRODUCT_VERSION first, the packed $VERSION (9.003002 means 9.3.2) when the dotted one is a build placeholder — and checks whether mt-wizard.cgi is still in the application directory. --access-log counts every request to mt-wizard.cgi, by IP and method, with the date window and sample lines.

Exit codes: 0 patched / no hits, 1 vulnerable, mitigated, or hits found, 2 unknown, 3 usage error.

Traps

  • The wizard-is-not-the-grade trap. The probe is a presence check, not a proof of exploitability. A plain GET that returns the wizard page shows the file is there and reachable; it does not run the vulnerable code path, and it cannot tell a patched wizard from a vulnerable one. The version grade is what decides vulnerable from patched. When the version is hidden, the scanner grades UNKNOWN and tells you to check the admin panel or grade locally from lib/MT.pm.
  • The deleted-wizard trap. A vulnerable version with mt-wizard.cgi deleted grades MITIGATED, not PATCHED: deleting the file is Six Apart's own workaround and it blocks this flaw, but the installed code is still vulnerable, and a redeploy or reinstall brings the file back. Upgrade to a fixed release, and check after every deploy that the file has not returned.
  • The unknown-wizard trap, the other way. A vulnerable version whose wizard state cannot be confirmed grades VULNERABLE, not UNKNOWN: the wizard ships with every install and is only gone if someone deleted it, so the grade assumes it is still in place and says so.
  • The Premium 2.x trap. Premium 2.20 is the fix for the MT8 Premium line; Premium 2.19 and earlier are vulnerable. A bare 2.19 with no Premium marker grades UNKNOWN: plain Movable Type 2.x predates the advisory's affected range (3.3 onward), so the scanner does not assert the CVE applies to it — check whether the wizard file is present instead.
  • The end-of-life trap. Every version from 3.3 onward is affected, including branches that have been end of life for years (3.3.x, 4.x, 5.x, 6.x, 7.x, 8.0.x, 8.4.x, Premium 1.x). Those have no fix on their line. The 8.0.x line reached end of life on 5 Nov 2026, a month before this disclosure. Delete the wizard now, then upgrade to a supported branch.
  • The bare-version trap. Movable Type versions are three numbers; 9.3 with no patch number grades UNKNOWN, because 9.3.0 is vulnerable and 9.3.2 is fixed and the string does not say which it is.
  • The CGIPath trap. The application directory is usually mt, but it is a configuration choice: it can be cgi-bin/mt, a versioned directory, or anything else. The scanner defaults to /mt and takes --cgi-path; a 404 on the wizard probe under the wrong path means nothing. Confirm the real CGIPath from mt-config.cgi before trusting a MITIGATED grade.
  • The single-hit trap. Any request to mt-wizard.cgi on a long-installed site has no routine reason to occur, so the log hunt lists every hit — but one GET from a scanner is probing, not a break-in. Repeated hits, POSTs, and hits followed by new files, new admin accounts, or unexpected processes under the web server account are the compromise signal. If you find those, treat the server as compromised: preserve the logs, rebuild from a known good state on a fixed version, and rotate the database credentials and admin passwords.
  • The patch-is-not-enough trap. Upgrading closes the hole, it does not undo a break-in. Commands run as the web server account, so an attacker who got in can read the site's configuration (including its database credentials), change published pages, and use the server as a foothold. If the access log shows the footprint, patching alone is not the end of the job.

Tests

python3 -m unittest discover -s tests -v

37 tests: version parsing (including the packed lib/MT.pm $VERSION, the Premium marker, and the bare-version trap), grading on every band (supported lines, end-of-life lines, Premium 2.x, and the unknown lines), the wizard-presence combination (including the MITIGATED verdict), mock-server --url probes (vulnerable, patched, wizard deleted, version hidden, feed fallback, wizard redirect, Premium, non-MT), local installs ($PRODUCT_VERSION, packed fallback, wizard deleted, missing lib/MT.pm), access-log hunting (plain and gzipped), inventory mode, and CLI exit codes.

Sources

  • Six Apart / MovableType.org, "Movable Type 9.3.2 / 9.0.12 / 8.8.8 Released" (1 Dec 2026 — primary source: the flaw in mt-wizard.cgi, the workaround, the released versions, 8.0.x end of life)
  • JVN#73624238 (1 Dec 2026 — CWE-78, CVSS 3.0 9.8 / 4.0 9.3, affected and fixed versions, attacks observed)
  • JPCERT/CC, alert JPCERT-AT-2026-0036 (1 Dec 2026) and the CVE record published by JPCERT/CC as CNA (1 Dec 2026 02:37 EST — same scores, same CWE-78)
  • Movable Type source, develop branch (lib/MT.pm — the version lives in $PRODUCT_VERSION as a dotted string and in $VERSION packed as 9.003002; default_templates/html_head.mtml — the generator meta tag; search_templates/results_feed.tmpl — the Atom feed generator element)
  • MovableType.org documentation, "File System" (the application directory layout: mt.cgi, mt-wizard.cgi, mt-config.cgi, lib/)
  • Rescana, "Movable Type CVE-2026-125615 Unauthenticated Command Injection Under Active Attack" (1 Dec 2026 — corroboration of the fix table, the KEV absence, the log-check advice, and the Premium 2.20 disagreement below)

Where sources disagree, this scanner follows the vendor fix and the CNA record and says so. The live disagreements are the CVSS (9.8 on 3.0, 9.3 on 4.0 — both critical, the scanner prints both and ranks on 9.8), Premium 2.20 (the CVE record and its NVD entry list 2.20 as affected, while Six Apart and JVN name it the fixed release — the scanner follows the vendor), and the NVD entry itself (status Received at the time of writing, JPCERT/CC scores only, no NVD score yet).

Related work

No public version-grading scanner was indexed for this flaw as of 2 Dec 2026. The public detection coverage so far is log-correlation rules (Splunk/KQL/Sigma, e.g. Threadlinqs) and vendor/playbook write-ups; this scanner is the open, standalone counterpart: version grading against the fix table with the end-of-life lines stated plainly, a wizard-presence probe that decides VULNERABLE from MITIGATED, and the access-log hunt — all without sending a payload or a crafted request. No foxcornlab scanner covered Movable Type before this one.

Thanks to

  • Six Apart — for disclosing the flaw the same day the fixes shipped, and for the workaround being a one-line deletion
  • JPCERT/CC and JVN — for the CNA record and the clear affected-version table
  • The Movable Type maintainers — for keeping the version in lib/MT.pm and the generator tag in the default templates, which is what makes detection without an exploit possible

Educational and defensive use only. This tool detects exposure, it does not exploit anything. If you run Movable Type 9.3.1 or earlier on a supported line, or anything from 3.3 onward on an end-of-life one, delete mt-wizard.cgi today and upgrade to 9.3.2, 9.0.12, or 8.8.8 — then hunt, because the attacks were already observed before the fix shipped.

Research by Vineeth Kumar (foxcornlab). Found a bug or want a feature, open an issue.

About

Detection-only triage for Movable Type CVE-2026-125615 (CVSS 9.8, unauthenticated RCE in mt-wizard.cgi, exploited in the wild): version grading, wizard-presence probe, local install check, access-log hunt.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages