[SECURITY] JSON-RPC permits to bypass token checks and can lead to CSRF (no victim's action required)
Originally disclosed on Mozilla
- Fixed in 16 days
- Paid in 22 months
- Disclosed after 16 days
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
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.