Mojira Referer / Referrer policy should be changed
The bug
The current referer / referrer policy of Mojira is no-referrer-when-downgrade. This means the referrer containing the URL of the site you came from can be sent to third party sites.
This is critical if you are currently viewing a private report, comment or other private part of Mojira. For example if you are the reporter of an issue about an exploit and click in the issue a link to google.com, then Google can assume (unless you are messing with referrers) that you somehow have access to that issue. And if the issue is then later mentioned in a change log this knowledge that you can access the issue is even more important.
This was just an example for Google, while I am not sure if Google really uses this information I hope you get the point because some websites are using it for sure.
How to reproduce (general)
- Make sure you have no add-ons installed which might remove the referrer
- Open the developer tools
- Open the network log
- After reading the following steps left-click the link https://en.wikipedia.org/wiki/HTTP_referer
- Click on the entry for the wikipedia article
- Look at the headers and search in the request headers the field "referer"
→ The referrer contains the URL of this report, which means wikipedia knows now that this issue likely exists and that you have access to it
How to reproduce (Chrome)
- Make sure you have no add-ons installed which might remove the referrer
- Open the developer tools, this can be done by pressing F12
- Open the network log tab called "Network"
- After reading the following steps left-click the link https://en.wikipedia.org/wiki/HTTP_referer
- Click on the entry for the wikipedia article, which will be named "HTTP_referer"
- Look in the "Headers" tab and search in the request headers the field "referer"
→ The referrer contains the URL of this report, which means wikipedia knows now that this issue likely exists and that you have access to it
2017-09-02, 05:37 PM
2022-12-06, 05:03 PM
2022-12-06, 05:03 PM
1
2