Compromised content process installs arbitrary WebExtensions or homepage hijacks (1-click) via AboutMessagePreviewParent IPC
Originally disclosed on Mozilla
- Fixed in 4 days
- Paid in 12 days
- Disclosed after 4 days
Created attachment 9543376 submission_messagepreview.md
Howdy. Found something more interesting while poking around. Missing remoteTypes on AboutMessagePreviewParent (its sibling AboutWelcome has remoteTypes: ["privilegedabout"]) allows a compromised content process to reach SpecialMessageActions.handleAction() with no action-type restriction. This exposes 46 privileged actions including INSTALL_ADDON_FROM_URL (uses SystemPrincipal, bypasses site doorhanger) and SET_PREF (homepage hijack, 0-click).
Meets sec-high: "Installation and execution of an extension without user consent" and "Obtaining access to IPC endpoints with a compromised content process that have clear security impact."
Impact:
- Arbitrary WebExtension install with Gate 1 bypassed — SystemPrincipal eliminates the "Allow this site to install?" doorhanger. User sees only the "Add" prompt (1 click). Attacker controls the InfoBar text for social engineering.
- Homepage hijack (0-click) —
browser.startup.homepageis on theSET_PREFallowlist. A single InfoBar button click sets the homepage to an attacker URL. - Full SpecialMessageActions table exposed — 46 action types including
DISABLE_DOH,PIN_FIREFOX_TO_TASKBAR,SET_DEFAULT_BROWSER,MULTI_ACTION.
The matches check (which IS enforced parent-side) is bypassable from a compromised content process via RecvUpdateDocumentURI — IsHttpOrHttpsAndCrossOrigin() returns false for about: URIs, allowing documentURI spoofing to about:messagepreview. The about:messagepreview page runs in the web remote type (same as attacker content), not privilegedabout.
Full chain tested on Firefox ESR 140.7.0. Confirmed still present in mozilla-central (Firefox 147.0.3 stable).
How was this issue discovered? Include the steps, tools, Firefox version, operating system version, or other information that will help reproduce and diagnose the issue:
Systematic audit of JSWindowActor registrations in DesktopActorRegistry.sys.mjs for missing remoteTypes. Found AboutMessagePreview has no remoteTypes while AboutWelcome (same SpecialMessageActions dispatch pattern) has remoteTypes: ["privilegedabout"].
Traced the IPC path from content process through the parent actor to SpecialMessageActions and verified INSTALL_ADDON_FROM_URL uses SystemPrincipal. Confirmed the matches check is bypassable via RecvUpdateDocumentURI by reviewing IsHttpOrHttpsAndCrossOrigin (only validates http/https URIs).
Built and tested PoC using Marionette automation. Confirmed Gate 1 bypass (SystemPrincipal eliminates site doorhanger) and Gate 2 bypass (mainAction.callback() auto-accepts permission prompt from chrome JS).
Verified code is still vulnerable in mozilla-central as of February 2026. See attached for full PoC and details. Please let me know if you have any questions.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity access control bug in Messaging System. Mozilla made it public on 11 February 2026 as CVE-2026-2777.
About Access control
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.