CVE-2022-45413
Medium · 6.1CVSS
6.1
EPSS
0.5%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A flaw in older Android versions of a web browser lets attackers steal login cookies by tricking users into clicking a link, which could let them access accounts without 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
The S.browser_fallback_url parameter allows an attacker-controlled redirect that forces SameSite=Strict cookies to be transmitted cross-site in Firefox for Android versions prior to 107.
Why it matters to the business
Attackers can bypass cookie isolation protections on Android browsers, potentially exposing session tokens or other sensitive data during redirects, increasing risk of account takeover in high-prevalence mobile environments.
How an attack unfolds
An attacker crafts a malicious link embedding the S.browser_fallback_url parameter pointing to an attacker site; when a victim on vulnerable Firefox Android clicks it, the browser follows the redirect while leaking SameSite=Strict cookies, allowing the attacker to capture and replay them.
How to fix it
Upgrade affected Firefox for Android installations to version 107 or later. For the listed tensorflow/tensorflow (GIT) packages, apply the fix in commit 1cf45b831eeb0cab8655c9c7c5d06ec6f45fc41b.
How to confirm the fix worked
Verify browser version is 107+ on Android devices; confirm no SameSite cookie leakage occurs on test redirects using the S.browser_fallback_url parameter; check tensorflow/tensorflow (GIT) repositories for the specified commit hash.
Typical attack path
- Attacker identifies a target site using SameSite=Strict cookies and crafts a phishing or malicious link using the S.browser_fallback_url parameter.
- Victim on Firefox for Android clicks the link, triggering the redirect.
- Browser sends the cookies despite SameSite=Strict policy due to the fallback handling.
- Attacker receives the leaked cookies on their controlled domain and uses them to impersonate the victim.
How to detect it
Review web server access logs for unexpected redirects involving browser_fallback_url parameters; inspect browser history or proxy logs for SameSite cookie transmissions to external domains; search application logs for anomalous session activity following Android Firefox user agents.
What your security team should do
- Prioritize patching all Firefox for Android instances to 107+ immediately given the 1395 days since publication.
- Monitor EPSS trend and re-evaluate if exploit maturity increases.
- Update tensorflow/tensorflow (GIT) to commit 1cf45b831eeb0cab8655c9c7c5d06ec6f45fc41b across all dependents.
- Implement additional cookie protections such as __Host- prefix where feasible.
The record
Using the <code>S.browser_fallback_url parameter</code> parameter, an attacker could redirect a user to a URL and cause SameSite=Strict cookies to be sent.<br>*This issue only affects Firefox for Android. Other operating systems are not affected.*. This vulnerability affects Firefox < 107.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 107.0+build2-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 107.0+build2-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 107.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-25736 An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined… Also affects firefox
- CVE-2023-25733 The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could… Also affects firefox
- CVE-2023-32210 Documents were incorrectly assuming an ordering of principal objects when ensuring we… Also affects firefox
- CVE-2023-32216 Memory safety bugs present in Firefox 112. Also affects firefox
- CVE-2023-32209 A maliciously crafted favicon could have led to an out of memory crash. Also affects firefox
- CVE-2023-32208 Service workers could reveal script base URL due to dynamic `import()`. Also affects firefox
- CVE-2023-29551 Memory safety bugs present in Firefox 111. Also affects firefox
- CVE-2023-32207 A missing delay in popup notifications could have made it possible for an attacker to… Also affects firefox