CVE-2020-15238
Local privilege escalation Blueman
Check your servers for CVE-2020-15238
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-15238 affects blueman, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 4.59%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 91.8% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| blueman |
affected < 2.1.4
|
Is my server affected?
Find the installed version of blueman and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i blueman
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-15238 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-15238RHEL, Rocky, Alma, Fedora
rpm -q blueman
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-15238Alpine
apk list --installed | grep -i bluemanWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-15238
trivy image --scanners vuln IMAGE | grep CVE-2020-15238
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/blueman-project/blueman/security/advisories/GHSA-jpc9-mgw6-2xwx github.com
- DSA-4781 debian.org · vendor advisory
- FEDORA-2020-7c22b25a07 lists.fedoraproject.org · vendor advisory
- FEDORA-2020-ebabb6bf76 lists.fedoraproject.org · vendor advisory
- FEDORA-2020-e083225fa1 lists.fedoraproject.org · vendor advisory
- GLSA-202011-11 security.gentoo.org · vendor advisory
Other references
- https://github.com/blueman-project/blueman/releases/tag/2.1.4 github.com
- https://bugs.launchpad.net/ubuntu/+source/blueman/+bug/1897287 bugs.launchpad.net
- http://packetstormsecurity.com/files/159740/Blueman-Local-Root-Privilege-Escalation.html packetstormsecurity.com
- [debian-lts-announce] 20201103 [SECURITY] [DLA 2430-1] blueman security update lists.debian.org · mailing list
Source: the record CVE-2020-15238 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse