Skip to content
RCE Advisory Advanced CVE-2019-9811

Mozilla Firefox Language Pack XUL Injection Sandbox Escape Vulnerability

Firefox allowed XUL markup to be injected through a language pack, so an attacker who already had low-privileged code execution could break out of the browser sandbox. This let them run code at medium integrity on the affected system.

Niklas Baumstark Follow

Originally disclosed on Zero Day Initiative

Medium 5.6 View original

This vulnerability allows remote attackers to escape the sandbox on affected installations of Mozilla Firefox. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Niklas Baumstark (@_niklasb), on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with low-privileged code execution could escape the Firefox sandbox and run code at medium integrity; the text does not say which platforms or versions were affected.

What the attacker needed

Ability to run low-privileged code in Firefox

The fix

Mozilla issued an update to correct the vulnerability.

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 report has not been written yet. The Original tab links to the source.

A sandbox is a boundary that keeps code running inside a program from touching the rest of the computer. Here, Firefox loaded language pack content in a way that let special interface markup (XUL) be slipped in, which broke that boundary. The attacker still needed a way to run some code inside Firefox first, so this is a second step, not a way in from nothing.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Niklas Baumstark

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.