CVE-2022-42931
Low · 3.3CVSS
3.3
EPSS
0.1%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A browser flaw let usernames be stored in a regular unprotected file instead of the secure encrypted storage, allowing anyone with access to the computer to see those usernames.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The Form Manager component saves usernames to an unencrypted on-disk file instead of routing them through the encrypted Password Manager storage.
Why it matters to the business
Local users or processes can read stored login usernames without needing credentials, exposing account identifiers on shared or compromised systems and increasing risk of targeted follow-on attacks.
How an attack unfolds
An attacker with local filesystem access locates the unencrypted Form Manager file, reads the stored usernames, and uses that information to craft phishing or credential-stuffing campaigns against the affected accounts.
How to fix it
Upgrade Firefox to version 106 or later so that usernames are handled exclusively by the Password Manager. If immediate upgrade is not possible, disable Form Manager autocomplete for login fields via about:config.
How to confirm the fix worked
Confirm Firefox version is 106 or newer; inspect the profile directory to verify no new unencrypted username files are created after login events.
Typical attack path
- Obtain local access or malware foothold on the target workstation
- Locate the unencrypted Form Manager data file
- Read plaintext usernames
- Correlate usernames with other reconnaissance to launch account-targeted attacks
How to detect it
Review local browser profile directories for unexpected plaintext files containing login-related strings; correlate with file creation timestamps around login events.
What your security team should do
- Prioritize deployment of Firefox 106+ across all managed endpoints within 30 days
- Audit browser configuration baselines to enforce Password Manager usage
- Add browser version checks to endpoint compliance scans
The record
Logins saved by Firefox should be managed by the Password Manager component which uses encryption to save files on-disk. Instead, the username (not password) was saved by the Form Manager to an unencrypted file on disk. This vulnerability affects Firefox < 106.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 106.0.2+build1-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | thunderbird | 0 | 1:102.4.2+build2-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | firefox | 0 | 106.0.2+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:102.4.2+build2-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:102.4.2+build2-0ubuntu0.22.04.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 106.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