Cloudanix VulnDB

CVE-2023-0767

High · 8.8

CVSS

8.8

EPSS

0.8%

Published

Jun 2, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in how certain certificate files are handled could let a carefully crafted file take over a user's browser or email program, risking theft of personal information or further attacks on their computer.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability allows an attacker to craft a malicious PKCS#12 certificate bundle that mishandles Safe Bag attributes, resulting in arbitrary memory writes within the affected Mozilla products.

Why it matters to the business

Successful exploitation could lead to full compromise of user workstations running vulnerable browser or email client versions, enabling theft of credentials, sensitive data exposure, and potential lateral movement within an organization; the flaw has been public for over three years with low but stable exploit probability and no known ransomware use.

How an attack unfolds

An attacker constructs a specially malformed PKCS#12 file and delivers it to the victim through a web page, email attachment, or download; when the victim imports or processes the bundle in Firefox, Thunderbird, or ESR, the mishandled attributes trigger memory corruption that can be leveraged for arbitrary code execution.

How to fix it

Upgrade Mozilla Firefox to version 110 or later, Firefox ESR to 102.8 or later, and Thunderbird to 102.8 or later; disable automatic import of PKCS#12 files where possible and enforce application allow-listing until patches are applied.

How to confirm the fix worked

Verify product version numbers match or exceed the fixed releases; test import of known-good PKCS#12 bundles to confirm normal behavior and scan systems for any remaining instances below the patched versions.

Typical attack path

  1. Attacker crafts malicious PKCS#12 bundle exploiting Safe Bag attribute handling
  2. Bundle is hosted on a web page or sent via email to target users
  3. Victim opens or imports the bundle in a vulnerable Mozilla product
  4. Memory corruption occurs allowing attacker-controlled writes
  5. Attacker achieves code execution and establishes persistence or exfiltrates data

How to detect it

Review browser and email client crash logs, audit trails for certificate import operations, and network logs for unusual downloads of .p12 or .pfx files from untrusted sources; check process execution following certificate handling activity.

What your security team should do

  • Prioritize patching all Mozilla Firefox, ESR, and Thunderbird instances to the fixed versions immediately given the high CVSS and memory corruption nature
  • Monitor for any new exploit maturity indicators or threat actor adoption over the next 30 days
  • Educate users on risks of importing untrusted certificate bundles
  • Implement application control policies to limit execution of outdated browser versions

The record

An attacker could construct a PKCS 12 cert bundle in such a way that could allow for arbitrary memory writes via PKCS 12 Safe Bag attributes being mishandled. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 firefox 0 102.8.0-2.el8_7.alma
AlmaLinux:8 nss 0 3.79.0-11.el8_7
AlmaLinux:8 nss-devel 0 3.79.0-11.el8_7
AlmaLinux:8 nss-softokn 0 3.79.0-11.el8_7
AlmaLinux:8 nss-softokn-devel 0 3.79.0-11.el8_7
AlmaLinux:8 nss-softokn-freebl 0 3.79.0-11.el8_7
AlmaLinux:8 nss-softokn-freebl-devel 0 3.79.0-11.el8_7
AlmaLinux:8 nss-sysinit 0 3.79.0-11.el8_7
AlmaLinux:8 nss-tools 0 3.79.0-11.el8_7
AlmaLinux:8 nss-util 0 3.79.0-11.el8_7
AlmaLinux:8 nss-util-devel 0 3.79.0-11.el8_7
AlmaLinux:8 thunderbird 0 102.8.0-2.el8_7.alma
AlmaLinux:9 firefox 0 102.8.0-2.el9_1.alma
AlmaLinux:9 firefox-x11 0 102.8.0-2.el9_1.alma
AlmaLinux:9 nspr 0 4.34.0-17.el9_1
AlmaLinux:9 nspr-devel 0 4.34.0-17.el9_1
AlmaLinux:9 nss 0 3.79.0-17.el9_1
AlmaLinux:9 nss-devel 0 3.79.0-17.el9_1
AlmaLinux:9 nss-softokn 0 3.79.0-17.el9_1
AlmaLinux:9 nss-softokn-devel 0 3.79.0-17.el9_1
AlmaLinux:9 nss-softokn-freebl 0 3.79.0-17.el9_1
AlmaLinux:9 nss-softokn-freebl-devel 0 3.79.0-17.el9_1
AlmaLinux:9 nss-sysinit 0 3.79.0-17.el9_1
AlmaLinux:9 nss-tools 0 3.79.0-17.el9_1
AlmaLinux:9 nss-util 0 3.79.0-17.el9_1
AlmaLinux:9 nss-util-devel 0 3.79.0-17.el9_1
AlmaLinux:9 thunderbird 0 102.8.0-2.el9_1.alma
Debian:10 firefox-esr 0 102.8.0esr-1~deb10u1
Debian:10 nss 0 2:3.42.1-1+deb10u6
Debian:10 thunderbird 0 1:102.8.0-1~deb10u1
Debian:11 firefox-esr 0 102.8.0esr-1~deb11u1
Debian:11 nss 0 2:3.61-1+deb11u3
Debian:11 thunderbird 0 1:102.8.0-1~deb11u1
Debian:12 firefox-esr 0 102.8.0esr-1
Debian:12 nss 0 2:3.87.1-1
Debian:12 thunderbird 0 1:102.8.0-1
Debian:13 firefox-esr 0 102.8.0esr-1
Debian:13 nss 0 2:3.87.1-1
Debian:13 thunderbird 0 1:102.8.0-1
Mageia:8 firefox 0 102.8.0-1.mga8
Mageia:8 firefox-l10n 0 102.8.0-1.mga8
Mageia:8 nss 0 3.88.1-1.mga8
Mageia:8 thunderbird 0 102.8.0-1.mga8
Mageia:8 thunderbird-l10n 0 102.8.0-1.mga8
Red Hat:enterprise_linux:7::client nss 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::client nss-debuginfo 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::client nss-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::client nss-pkcs11-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::client nss-sysinit 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::client nss-tools 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss-debuginfo 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss-pkcs11-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss-sysinit 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::computenode nss-tools 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss-debuginfo 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss-pkcs11-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss-sysinit 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::server nss-tools 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss-debuginfo 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss-pkcs11-devel 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss-sysinit 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:7::workstation nss-tools 0 0:3.79.0-5.el7_9
Red Hat:enterprise_linux:8::appstream nss 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-debugsource 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-devel 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn-devel 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn-freebl 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn-freebl-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-softokn-freebl-devel 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-sysinit 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-sysinit-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-tools 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-tools-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-util 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-util-debuginfo 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:8::appstream nss-util-devel 0 0:3.79.0-11.el8_7
Red Hat:enterprise_linux:9::appstream nspr 0 0:4.34.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nspr-debuginfo 0 0:4.34.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nspr-devel 0 0:4.34.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-debugsource 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-devel 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn-devel 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn-freebl 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn-freebl-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-softokn-freebl-devel 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-sysinit 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-sysinit-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-tools 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-tools-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-util 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-util-debuginfo 0 0:3.79.0-17.el9_1
Red Hat:enterprise_linux:9::appstream nss-util-devel 0 0:3.79.0-17.el9_1
Red Hat:rhel_aus:8.2::appstream firefox 0 0:102.9.0-4.el8_2
Red Hat:rhel_aus:8.2::appstream firefox-debuginfo 0 0:102.9.0-4.el8_2
Red Hat:rhel_aus:8.2::appstream firefox-debugsource 0 0:102.9.0-4.el8_2
Red Hat:rhel_aus:8.2::appstream nss 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-debugsource 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn-freebl 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn-freebl-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-softokn-freebl-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-sysinit 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-sysinit-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-tools 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-tools-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-util 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-util-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream nss-util-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird 0 0:102.9.0-2.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird-debuginfo 0 0:102.9.0-2.el8_2
Red Hat:rhel_aus:8.2::appstream thunderbird-debugsource 0 0:102.9.0-2.el8_2
Red Hat:rhel_e4s:8.1::appstream firefox 0 0:102.9.0-4.el8_1
Red Hat:rhel_e4s:8.1::appstream firefox-debuginfo 0 0:102.9.0-4.el8_1
Red Hat:rhel_e4s:8.1::appstream firefox-debugsource 0 0:102.9.0-4.el8_1
Red Hat:rhel_e4s:8.1::appstream nss 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-debugsource 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-devel 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn-devel 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn-freebl 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn-freebl-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-softokn-freebl-devel 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-sysinit 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-sysinit-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-tools 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-tools-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-util 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-util-debuginfo 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream nss-util-devel 0 0:3.44.0-11.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird 0 0:102.9.0-2.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debuginfo 0 0:102.9.0-2.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debugsource 0 0:102.9.0-2.el8_1
Red Hat:rhel_e4s:8.2::appstream firefox 0 0:102.9.0-4.el8_2
Red Hat:rhel_e4s:8.2::appstream firefox-debuginfo 0 0:102.9.0-4.el8_2
Red Hat:rhel_e4s:8.2::appstream firefox-debugsource 0 0:102.9.0-4.el8_2
Red Hat:rhel_e4s:8.2::appstream nss 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-debugsource 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn-freebl 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn-freebl-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-softokn-freebl-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-sysinit 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-sysinit-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-tools 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-tools-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-util 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-util-debuginfo 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream nss-util-devel 0 0:3.53.1-13.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird 0 0:102.9.0-2.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird-debuginfo 0 0:102.9.0-2.el8_2
Red Hat:rhel_e4s:8.2::appstream thunderbird-debugsource 0 0:102.9.0-2.el8_2
Red Hat:rhel_els:6 nss 0 0:3.44.0-13.el6_10
Red Hat:rhel_els:6 nss-debuginfo 0 0:3.44.0-13.el6_10
Red Hat:rhel_els:6 nss-devel 0 0:3.44.0-13.el6_10
Red Hat:rhel_els:6 nss-pkcs11-devel 0 0:3.44.0-13.el6_10
Red Hat:rhel_els:6 nss-sysinit 0 0:3.44.0-13.el6_10
Red Hat:rhel_els:6 nss-tools 0 0:3.44.0-13.el6_10
Red Hat:rhel_eus:8.4::appstream firefox 0 0:102.9.0-4.el8_4
Red Hat:rhel_eus:8.4::appstream firefox-debuginfo 0 0:102.9.0-4.el8_4
Red Hat:rhel_eus:8.4::appstream firefox-debugsource 0 0:102.9.0-4.el8_4
Red Hat:rhel_eus:8.4::appstream nss 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-debugsource 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-devel 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn-devel 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn-freebl 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn-freebl-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-softokn-freebl-devel 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-sysinit 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-sysinit-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-tools 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-tools-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-util 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-util-debuginfo 0 0:3.67.0-8.el8_4
Red Hat:rhel_eus:8.4::appstream nss-util-devel 0 0:3.67.0-8.el8_4

Related vulnerabilities