Exploit database

Vulnerability

CVE-2015-8612

Vulnerability details

Score
8.4
Severity
high

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

The EnableNetwork method in the Network class in plugins/mechanism/Network.py in Blueman before 2.0.3 allows local users to gain privileges via the dhcp_handler argument.

CVE Program

Exploit source choices

2 sources
blueman set_dhcp_handler D-Bus Privilege Escalation
MSF-linux--local--blueman_set_dhcp_handler_dbus_priv_escMetasploitLinux / remote

This module attempts to gain root privileges by exploiting a Python code injection vulnerability in blueman versions prior to 2.0.3. The `org.blueman.Mechanism.EnableNetwork` D-Bus interface exposes the `set_dhcp_handler` function which uses user input in a call to `eval`, without sanitization, resulting in arbitrary code execution as root. This module has been tested successfully with blueman version 1.23 on Debian 8 Jessie (x64).

2015-12-18blueman_set_dhcp_handler_dbus_priv_esc.rb