Skip to content
RCE Disclosed report

Arbitrary code execution from Font Inspector

Mariusz Mlynski Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 11 days
  • Paid in 43 days
  • Disclosed after 11 days
Text
It is possible to execute arbitrary code when a user opens the Font Inspector on a malicious website containing a specially crafted font definition.

The problem lies in the function |FI_buildPreview|, which appends user-controlled, unsanitized font-family names to a string containing CSS code. This allows code injection in the context of a document inheriting chrome privileges of chrome://browser/content/devtools/fontinspector/font-inspector.xhtml

The original report as published on Mozilla's Bugzilla, by Mariusz Mlynski. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 critical-severity RCE bug in Inspector. Mozilla made it public on 31 May 2013.

About RCE

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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 Mariusz Mlynski

View all

26 more disclosed reports, best first.

More from Mozilla

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.