cross-origin restriction bypass & arbitrary local file read using data: and view-source: uri scheme
Originally disclosed on Mozilla
- Fixed in 3 days
- Paid in 14 days
- Disclosed after 3 days
Created attachment 8693479
poc.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20151029151421
Steps to reproduce:
Please access the following page.
http://llamakko:[address removed]/poc/
Click the 'CLICK ME!' button.
Wait for about six seconds.
Actual results:
Will display an alert dialog containing the HTML content of example.org.
cross-origin restriction bypass was successful.
Expected results:
If trying to change a protocol to data: uri scheme, that should not be successful.
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 critical-severity path traversal bug in DOM: Core & HTML. Mozilla made it public on 3 December 2015 as CVE-2015-7214.
About Path traversal
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.