Skip to content

CVE-2020-15238 Local privilege escalation Blueman

HighCVSS 7.0 EPSS 4.6% Public exploit
Published
Updated
Exploit status
Public exploit available
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 7 fixed.

PackageAffectedFixed inStatus
blueman project blueman < 2.1.4 2.1.4 Fixed
debian/blueman(Debian 12) < 2.1.4-1 2.1.4-1 Fixed
debian/blueman(Debian 13) < 2.1.4-1 2.1.4-1 Fixed
debian/blueman(Debian 14) < 2.1.4-1 2.1.4-1 Fixed
ubuntu/blueman(Ubuntu 16.04) < 2.0.4-1ubuntu2.1; = 2.0-1ubuntu1; = 2.0.3-1ubuntu1; = 2.0.4-1ubuntu1 +1 more 2.0.4-1ubuntu2.1 Fixed
ubuntu/blueman(Ubuntu 18.04) < 2.0.5-1ubuntu1.1; = 2.0.4-1ubuntu3; = 2.0.5-1ubuntu1 2.0.5-1ubuntu1.1 Fixed
ubuntu/blueman(Ubuntu 20.04) < 2.1.2-1ubuntu0.1; = 2.0.8-1ubuntu1; = 2.1.1-1; = 2.1.2-1 2.1.2-1ubuntu0.1 Fixed
blueman-project blueman = < 2.1.4 No fix listed Versions listed
debian linux = 9.0; = 10.0 No fix listed Versions listed
fedoraproject fedora = 31; = 32; = 33 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/blueman(Debian:12) < 2.1.4-1 2.1.4-1
debian/blueman(Debian:13) < 2.1.4-1 2.1.4-1
debian/blueman(Debian:14) < 2.1.4-1 2.1.4-1
blueman project blueman < 2.1.4 2.1.4
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
fedoraproject fedora = 31 No fix listed
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
blueman-project blueman = < 2.1.4 No fix listed
ubuntu/blueman(Ubuntu:16.04) < 2.0.4-1ubuntu2.1 2.0.4-1ubuntu2.1
ubuntu/blueman(Ubuntu:16.04) = 2.0-1ubuntu1 No fix listed
ubuntu/blueman(Ubuntu:16.04) = 2.0.3-1ubuntu1 No fix listed
ubuntu/blueman(Ubuntu:16.04) = 2.0.4-1ubuntu1 No fix listed
ubuntu/blueman(Ubuntu:16.04) = 2.0.4-1ubuntu2 No fix listed
ubuntu/blueman(Ubuntu:18.04) < 2.0.5-1ubuntu1.1 2.0.5-1ubuntu1.1
ubuntu/blueman(Ubuntu:18.04) = 2.0.4-1ubuntu3 No fix listed
ubuntu/blueman(Ubuntu:18.04) = 2.0.5-1ubuntu1 No fix listed
ubuntu/blueman(Ubuntu:20.04) < 2.1.2-1ubuntu0.1 2.1.2-1ubuntu0.1
ubuntu/blueman(Ubuntu:20.04) = 2.0.8-1ubuntu1 No fix listed
ubuntu/blueman(Ubuntu:20.04) = 2.1.1-1 No fix listed
ubuntu/blueman(Ubuntu:20.04) = 2.1.2-1 No fix listed

References