CVE-2022-36316
Medium · 6.1CVSS
6.1
EPSS
0.3%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A browser timing feature could let attackers quietly learn whether certain web addresses had been redirected, helping them gather information for other attacks.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Application
- Class
- Open Redirect
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An attacker can detect whether a target URL was subject to a redirect by observing subtle differences between PerformanceEntries via the Performance API.
Why it matters to the business
Enables stealthy information gathering about redirect behavior in web applications, potentially aiding phishing or tracking campaigns with low immediate operational disruption but elevated risk in environments handling sensitive redirects.
How an attack unfolds
An attacker embeds JavaScript using the Performance API on a malicious page, loads a target URL that may redirect, and inspects PerformanceEntry differences to confirm redirect presence, informing follow-on attacks such as open redirect abuse.
How to fix it
Upgrade nextcloud/server (GIT) to the fixed commit 1debe060a87e1d50e18dd47b29ea32de3dc4bac6.
How to confirm the fix worked
Verify deployment of commit 1debe060a87e1d50e18dd47b29ea32de3dc4bac6 and confirm Performance API no longer leaks redirect information on test URLs.
Typical attack path
- Host malicious webpage with Performance API instrumentation
- Trigger load of target URL potentially subject to redirect
- Compare PerformanceEntries for timing or entry differences
- Confirm redirect occurred and leverage for further exploitation
How to detect it
Review web server and application logs for unexpected Performance API calls or JavaScript patterns that probe redirect behavior; correlate with client-side timing measurements on redirect endpoints.
What your security team should do
- Apply the fixed commit 1debe060a87e1d50e18dd47b29ea32de3dc4bac6 immediately across all nextcloud/server instances
- Audit web applications for Performance API usage in redirect flows
- Monitor EPSS trend and re-evaluate if exploit maturity increases
The record
When using the Performance API, an attacker was able to notice subtle differences between PerformanceEntries and thus learn whether the target URL had been subject to a redirect. This vulnerability affects Firefox < 103.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 103.0+build1-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | firefox | 0 | 103.0+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:102.2.2+build1-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:102.2.2+build1-0ubuntu0.22.04.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 103.0.1-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