Bug 1342894 (CVE-2016-2825) - CVE-2016-2825 Mozilla: Partial same-origin-policy through setting location.host through data: URI (MFSA 2016-54)
Summary: CVE-2016-2825 Mozilla: Partial same-origin-policy through setting location.ho...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-2825
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1335788
TreeView+ depends on / blocked
 
Reported: 2016-06-06 04:12 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-17 03:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-09 03:10:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2016-06-06 04:12:09 UTC
Security researcher Armin Razmdjou reported that the location.host property can be set to an arbitrary string after creating an invalid data: URI. This allows for a bypass of some same-origin policy protections. This issue is mitigated by the data: URI in use and any same-origin checks for http: or https: are still enforced correctly. As a result cookie stealing and other common same-origin bypass attacks are not possible. 


External Reference:

https://www.mozilla.org/security/announce/2016/mfsa2016-54.html


Acknowledgements:

Name: the Mozilla project
Upstream:  Armin Razmdjou

Statement:

This issue does not affect the version of firefox and thunderbird as shipped with Red Hat Enterprise Linux 5, 6 and 7.


Note You need to log in before you can comment on or make changes to this bug.