Quantum Secular Labs / Blog / Advisories
CVE-2018-18492: Mozilla Firefox: Use after free
CVE-2018-18492 is rated critical with a CVSS v3.0 base score of 9.8 and affects Mozilla Firefox, along with 8 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
A use-after-free vulnerability can occur after deleting a selection element due to a weak reference to the select element in the options collection. This results in a potentially exploitable crash. This vulnerability affects Thunderbird < 60.4, Firefox ESR < 60.4, and Firefox < 64.
Severity breakdown
CVSS v3.0 9.8: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-416: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
Affected products
- Mozilla Firefox: before 60.4.0; before 64.0
- Mozilla Thunderbird: before 60.4.0
- Debian Linux: 8.0; 9.0
- Canonical Ubuntu Linux: 14.04; 16.04; 18.04; 18.10
- Red Hat Enterprise Linux Desktop: 6.0; 7.0
- Red Hat Enterprise Linux Server: 6.0; 7.0
- Red Hat Enterprise Linux Server Aus: 7.6
- Red Hat Enterprise Linux Server Eus: 7.6
- Red Hat Enterprise Linux Server Tus: 7.6
- Red Hat Enterprise Linux Workstation: 6.0; 7.0
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1499861
- https://www.mozilla.org/security/advisories/mfsa2018-29/
- https://www.mozilla.org/security/advisories/mfsa2018-30/
- https://www.mozilla.org/security/advisories/mfsa2018-31/
- http://www.securityfocus.com/bid/106168
- https://access.redhat.com/errata/RHSA-2018:3831
- https://access.redhat.com/errata/RHSA-2018:3833
- https://access.redhat.com/errata/RHSA-2019:0159
- https://access.redhat.com/errata/RHSA-2019:0160
- https://lists.debian.org/debian-lts-announce/2018/12/msg00002.html
- https://security.gentoo.org/glsa/201903-04
- https://usn.ubuntu.com/3844-1/
- https://usn.ubuntu.com/3868-1/
- https://www.debian.org/security/2018/dsa-4354