CVE-2020-15238 Local privilege escalation Blueman

High 7.1 Published Updated

Local attackers can inject arguments into D-Bus methods to execute arbitrary commands or scripts, leading to privilege escalation.

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-2020-15238?

CVE-2020-15238 is a high-severity command injection vulnerability in Debian Debian Linux, published on 27 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Blueman is a GTK+ Bluetooth Manager. In Blueman before 2.1.4, the DhcpClient method of the D-Bus interface to blueman-mechanism is prone to an argument injection vulnerability. The impact highly depends on the system configuration. If Polkit-1 is disabled and for versions lower than 2.0.6, any local user can possibly exploit this. If Polkit-1 is enabled for version 2.0.6 and later, a possible attacker needs to be allowed to use the `org.blueman.dhcp.client` action. That is limited to users in the wheel group in the shipped rules file that do have the privileges anyway. On systems with ISC DHCP client (dhclient), attackers can pass arguments to `ip link` with the interface name that can e.g. be used to bring down an interface or add an arbitrary XDP/BPF program. On systems with dhcpcd and without ISC DHCP client, attackers can even run arbitrary scripts by passing `-c/path/to/script` as an interface name. Patches are included in 2.1.4 and master that change the DhcpClient D-Bus method(s) to accept BlueZ network object paths instead of network interface names. A backport to 2.0(.8) is also available. As a workaround, make sure that Polkit-1-support is enabled and limit privileges for the `org.blueman.dhcp.client` action to users that are able to run arbitrary commands as root anyway in /usr/share/polkit-1/rules.d/blueman.rules.

Weakness: CWE-88, CWE-74

Which versions are affected by CVE-2020-15238?

It affects 3 products.

Linux distribution packages (3)
blueman SUSE:Package Hub 15 SP2All versions2.1.4-bp152.2.3.1
blueman SUSE:Package Hub 15 SP2All versions2.1.4-bp152.2.6.1
blueman openSUSE:Leap 15.2All versions2.1.4-bp152.2.3.1

Products include Blueman Project Blueman, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2020-15238?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-15238 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-15238, DLA-2430-1, DSA-4781-1, GHSA-jpc9-mgw6-2xwx, MGASA-2020-0402, UBUNTU-CVE-2020-15238 and 5 more.

Is CVE-2020-15238 in your software?

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

Check your SBOMs for free