CVE-2022-3287 Information disclosure in fwupd

Medium 6.5 Published Updated

Local attackers can read BMC operator passwords from a world-readable configuration file in fwupd, leading to credential exposure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3287?

CVE-2022-3287 is a medium-severity vulnerability in fwupd, published on 28 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When creating an OPERATOR user account on the BMC, the redfish plugin saved the auto-generated password to /etc/fwupd/redfish.conf without proper restriction, allowing any user on the system to read the same configuration file.

Weakness: CWE-552, CWE-256

Which versions are affected by CVE-2022-3287?

It affects 1 product.

Linux distribution packages (28)
fwupd AlmaLinux:8All versions1.7.8-2.el8
fwupd-devel AlmaLinux:8All versions1.7.8-2.el8
fwupd Red Hat:enterprise_linux:8::baseosAll versions0:1.7.8-2.el8
fwupd-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.7.8-2.el8
fwupd-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1.7.8-2.el8
fwupd-tests-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.7.8-2.el8
fwupd-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.7.8-2.el8
fwupd-debugsource Red Hat:enterprise_linux:8::crbAll versions0:1.7.8-2.el8
fwupd-devel Red Hat:enterprise_linux:8::crbAll versions0:1.7.8-2.el8
fwupd-tests-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.7.8-2.el8
fwupd Red Hat:rhel_eus:8.6::baseosAll versions0:1.7.4-3.el8_6
fwupd-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:1.7.4-3.el8_6
fwupd-debugsource Red Hat:rhel_eus:8.6::baseosAll versions0:1.7.4-3.el8_6
fwupd-tests-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:1.7.4-3.el8_6
fwupd-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:1.7.4-3.el8_6
fwupd-debugsource Red Hat:rhel_eus:8.6::crbAll versions0:1.7.4-3.el8_6
fwupd-devel Red Hat:rhel_eus:8.6::crbAll versions0:1.7.4-3.el8_6
fwupd-tests-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:1.7.4-3.el8_6
fwupd Red Hat:rhel_eus:8.8::baseosAll versions0:1.7.8-2.el8_8
fwupd-debuginfo Red Hat:rhel_eus:8.8::baseosAll versions0:1.7.8-2.el8_8
fwupd-debugsource Red Hat:rhel_eus:8.8::baseosAll versions0:1.7.8-2.el8_8
fwupd-tests-debuginfo Red Hat:rhel_eus:8.8::baseosAll versions0:1.7.8-2.el8_8
fwupd-debuginfo Red Hat:rhel_eus:8.8::crbAll versions0:1.7.8-2.el8_8
fwupd-debugsource Red Hat:rhel_eus:8.8::crbAll versions0:1.7.8-2.el8_8
fwupd-devel Red Hat:rhel_eus:8.8::crbAll versions0:1.7.8-2.el8_8
fwupd-tests-debuginfo Red Hat:rhel_eus:8.8::crbAll versions0:1.7.8-2.el8_8
fwupd Rocky Linux:8All versions0:1.7.8-2.el8.rocky.0.1
fwupd openSUSE:TumbleweedAll versions1.8.6-1.1

Products include Fwupd Fwupd.

How do I fix CVE-2022-3287?

Apply the vendor's patch.

Is CVE-2022-3287 being exploited?

There is no known exploitation of CVE-2022-3287 in the wild and no public exploit code.

Sources

Also known as ALSA-2023:7189, DEBIAN-CVE-2022-3287, GHSA-7qqr-wwjq-98v6, RHSA-2023:7189, RHSA-2024:1106, RHSA-2024:1403 and 3 more.

Is CVE-2022-3287 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free