Skip to content
CSRF Disclosed report

CSRF via java applet in builder.addons.mozilla.org

James Kettle Follow

Originally disclosed on Mozilla

  • Fixed in 29 days
  • Paid in 14 months
  • Disclosed after 29 days
Text
Created attachment 658215
Demo attack. Displays some content from builder.addons.mozilla.org.

Users can attach any kind of file to their addons, and they are served from the builder.addons.mozilla.org domain eg https://builder.addons.mozilla.org/attachment/259514 

They are served with the 'content-disposition: attachment' header so it isn't possible to upload HTML to XSS any browsers except Opera. However, java applets inherit permissions from the domain they originate from. The attached poc loads the java applet linked above, which fetches https://builder.addons.mozilla.org/package/150977/latest/ and prints out the full source, including CSRF tokens. From there, I think one could use CSRF to backdoor the user's addons (and the user themselves next time they clicked 'test').

The original report as published on Mozilla's Bugzilla, by Jаmes Kettle. 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 CSRF bug in Add-on Builder. Mozilla made it public on 3 October 2012.

About CSRF

Another site makes a signed-in user's browser perform an action they did not intend.

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

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by James Kettle

View all

14 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.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.