Firefox: Unrestricted Upload of File with Dangerous Type
CVE-2023-37208 is a high-severity unrestricted upload of file with dangerous type vulnerability in Firefox from Mozilla, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version 115 as the first without the flaw, so updating Firefox to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.23% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Firefox to 115 or a later version.
- Update Firefox ESR to 102.13 or a later version.
- Update Thunderbird to 102.13 or a later version.
- Read the advisory on mozilla.org for workarounds and exact fixed builds.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Mozilla | Firefox | before 115 | 115 |
| Mozilla | Firefox ESR | before 102.13 | 102.13 |
| Mozilla | Thunderbird | before 102.13 | 102.13 |
| Debian | Debian Linux | 10.0; 11.0; 12.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.
Official description
When opening Diagcab files, Firefox did not warn the user that these files may contain malicious code. This vulnerability affects Firefox < 115, Firefox ESR < 102.13, and Thunderbird < 102.13.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Unrestricted Upload of File with Dangerous Type
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
How developers prevent this class of flaw
- Generate a new, unique filename for an uploaded file instead of using the user-supplied filename, so that no external input is used at all.
- When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs.
- Consider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically.
More Unrestricted Upload of File with Dangerous Type vulnerabilities (CWE-434)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- lists.debian.org/debian-lts-announce/2023/07/msg00006.htmlMailing List, Third Party Advisory
- debian.org/security/2023/dsa-5450Third Party Advisory
- debian.org/security/2023/dsa-5451Third Party Advisory
Other references
- bugzilla.mozilla.org/show_bug.cgi?id=1837675Issue Tracking, Permissions Required
- lists.debian.org/debian-lts-announce/2023/07/msg00015.html
Other vulnerabilities in Firefox
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
Recent Unrestricted Upload of File with Dangerous Type vulnerabilities
- 9.8 Critical severity
- 8.8 High severity
- 7.2 High severity
- 9.8 Critical severity
- 7.2 High severity
- 7.2 High severity
Spotted an error? Tell us.