The Bug: A Classic Rollback Attack
The Mozilla Maintenance Service checked that updater.exe was signed by Mozilla but did not check its version, so a standard user could replace it with an old vulnerable version. The old updater.exe then executed a file specified in updater.ini as SYSTEM, allowing privilege escalation.
Published on blog.mozilla.org
This blog post is about a vulnerability I found in the Mozilla Maintenance Service on Windows that allows an attacker to elevate privileges from a standard user account to SYSTEM. While the specific vulnerability only works on Windows, this is not really because of any Windows-specific issue but rather about how…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The service verified the digital signature of updater.exe but did not verify its version, allowing a rollback to an older vulnerable version.
Impact
A local attacker with a standard user account could escalate privileges to SYSTEM.
What the attacker needed
Firefox installed in a user-writable location; Local access to the machine; Standard user account
How it was found
- Install Firefox to a non-standard, user-writable location.
- Replace updater.exe with an old vulnerable version.
- Modify updater.ini to set ExeRelPath to a Mozilla-signed executable.
- Place a hijacked DLL alongside that executable in a user-created directory.
- Start the Mozilla Maintenance Service, which copies and runs the old updater.exe as SYSTEM.
- The old updater.exe runs the specified executable, which loads the hijacked DLL, escalating to SYSTEM.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A Windows service running with high privileges (SYSTEM) was supposed to safely update Firefox. It only checked that the updater program was signed by Mozilla, not that it was a recent, safe version. An attacker with a normal user account could swap in an old, buggy updater that then ran their chosen program with full system rights.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.