Skip to content
Disclosed report

MozReview auth delegation allows sending out phishing mails via Bugzilla

Wladimir Palant Follow

Originally disclosed on Mozilla

  • Fixed in 2 days
  • Paid in 7 days
  • Disclosed after 2 days
Text
You can try it out by clicking this link: https://bugzilla.mozilla.org/auth.cgi?callback=https://reviewboard.mozilla.org/mozreview/bmo_auth_callback/&description=kabanga'%20has%20been%20created.%0A%0AIMPORTANT%3A%20If%20you%20didn't%20create%20this%20key%20pleases%20click%20http%3A%2F%2Fbugzilla-mozilla.org%2Ffoobar.cgi%20to%20change%20your%20password!%0A%0ASome%20additional%20boring%20info%20follows%2E%2E%2E

This will create a new API key for you and redirect you to reviewboard.mozilla.org, this can happen in background (via an image embedded into a site). You will get an email about the new API key which is normally a good thing, except that in this case it will read:

> [This e-mail has been automatically generated]
> 
> A new Bugzilla API key, with the
> description 'kabanga' has been created.
> 
> IMPORTANT: If you didn't create this key pleases click http://bugzilla-mozilla.org/foobar.cgi to change your password!
> 
> Some additional boring info follows...' has been created. You can view
> or update the key at the following URL:
> 
> https://bugzilla.mozilla.org/userprefs.cgi?tab=apikey
> 
> IMPORTANT: If you did not request a new key, your Bugzilla account
> ...

Note how the first "IMPORTANT" message is a fake directing you to a potential phishing site - injected via API key description. The second message is the real one, coming from Bugzilla.

I think that in this particular case the extension should override the description to say "MozReview" regardless of any query parameters. As far as the general Bugzilla functionality goes, it might be better to stop quoting the description in mails altogether - maybe the first letters of the API key will do as well.

The original report as published on Mozilla's Bugzilla, by Wladimir Palant. 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 medium-severity security bug in Extensions: MozReview Integration. Mozilla made it public on 10 March 2016.

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

More by Wladimir Palant

View all

30 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.