CSRF via java applet in builder.addons.mozilla.org
Originally disclosed on Mozilla
- Fixed in 29 days
- Paid in 14 months
- Disclosed after 29 days
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').
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.