Skip to content
CSRF Disclosed report CVE-2012-0440

[SECURITY] JSON-RPC permits to bypass token checks and can lead to CSRF (no victim's action required)

Mario Gomes Follow

Originally disclosed on Mozilla

  • Fixed in 16 days
  • Paid in 22 months
  • Disclosed after 16 days
Text
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.16 (KHTML, like Gecko) Chrome/18.0.1003.1 Safari/535.16

Steps to reproduce:

Hello,

No security token is used when a POST request is made in jsonrpc.cgi thus allowing an attacker to add as CC, to visit and bugs taken private, or restricted to certain users. To explore this it is necessary that a User with privileges to edit bugs, so the attacker creating a page specially crafted to add CC.

Reproduce:
Do a POST Request in https://bugzilla.mozilla.org/jsonrpc.cgi, whit this content:

{"version":"1.1","method":"Bug.update","id":2,"params":{"ids":[629221],"cc":{"add":["[address removed]"]}}}

Cheers,
Mario

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 CSRF bug in WebService. Mozilla made it public on 31 January 2012 as CVE-2012-0440.

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.