CVE-2016-9078
High · 8.8CVSS
8.8
EPSS
1.8%
Published
Jun 11, 2018
CISA due date
—
Cloudanix analysis
A browser flaw lets attackers on one website secretly set login cookies for another website, potentially allowing them to access user accounts without knowing the passwords.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Open Redirect
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Redirection from an HTTP connection to a data: URL assigns the referring site's origin to the data: URL, enabling same-origin violations and cross-origin cookie setting without read access.
Why it matters to the business
Attackers can potentially hijack sessions or perform unauthorized actions on domains by setting cookies cross-origin, increasing risk of account compromise and data exposure for users of affected browsers.
How an attack unfolds
An attacker hosts a malicious site that performs an HTTP-to-data: URL redirect; when a victim visits, the data: URL inherits the referring origin allowing cookie setting on the target domain without further interaction.
How to fix it
Upgrade affected chromium packages to the fixed versions listed: 71.0.3578.80-1 for Debian 11/12/13 and 71.0.3578.80-0ubuntu0.16.04.1 for Ubuntu 16.04 LTS. Apply updates immediately given exploit availability.
How to confirm the fix worked
Verify browser version is at or above the fixed releases; test redirect behavior with crafted HTTP-to-data: URLs to confirm origin isolation; review update logs for successful package upgrades.
Typical attack path
- Attacker crafts malicious page with HTTP redirect to data: URL
- Victim is lured to visit the malicious page
- Browser assigns referring origin to data: URL
- Cross-origin cookies are set on the target domain
- Attacker leverages set cookies for session manipulation or further attacks
How to detect it
Review browser logs and proxy logs for unusual HTTP redirects to data: URLs; look for unexpected cookie-setting events from cross-origin sources in web server access logs.
What your security team should do
- Prioritize patching all listed chromium packages to fixed versions within 48 hours due to public exploit
- Monitor browser update channels for rapid deployment
- Educate users on avoiding untrusted redirects
- Audit web applications for reliance on cookie-based auth that could be impacted
The record
Redirection from an HTTP connection to a "data:" URL assigns the referring site's origin to the "data:" URL in some circumstances. This can result in same-origin violations against a domain if it loads resources from malicious sites. Cross-origin setting of cookies has been demonstrated without the ability to read them. Note: This issue only affects Firefox 49 and 50. This vulnerability affects Firefox < 50.0.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:5 | iceape | 0 | 2.48-1.mga5 |
| Mageia:6 | iceape | 0 | 2.48-1.mga6 |
| Ubuntu:14.04:LTS | firefox | 0 | 50.0.2+build1-0ubuntu0.14.04.1 |
| Ubuntu:16.04:LTS | firefox | 0 | 50.0.2+build1-0ubuntu0.16.04.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 50.1.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2017-7826 Memory safety bugs were reported in Firefox 56 and Firefox ESR 52.4. Also affects iceape
- CVE-2017-7805 During TLS 1.2 exchanges, handshake hashes are generated which point to a message buffer. Also affects iceape
- CVE-2017-7810 Memory safety bugs were reported in Firefox 55 and Firefox ESR 52.3. Also affects iceape
- CVE-2017-7793 A use-after-free vulnerability can occur in the Fetch API when the worker or the… Also affects iceape
- CVE-2017-7753 An out-of-bounds read occurs when applying style rules to pseudo-elements, such as… Also affects iceape
- CVE-2017-5465 An out-of-bounds read while processing SVG content in "ConvolvePixel". Also affects iceape
- CVE-2017-5470 Memory safety bugs were reported in Firefox 53 and Firefox ESR 52.1. Also affects iceape
- CVE-2017-5447 An out-of-bounds read during the processing of glyph widths during text layout. Also affects iceape