Exploit database

Vulnerability

CVE-2016-15045

Deepin lastore-daemon Privilege Escalation via Unsigned .deb Installation

Vulnerability details

Score
8.5
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

A local privilege escalation vulnerability exists in lastore-daemon, the system package manager daemon used in Deepin Linux (developed by Wuhan Deepin Technology Co., Ltd.). In versions 0.9.53-1 (Deepin 15.5) and 0.9.66-1 (Deepin 15.7), the D-Bus configuration permits any user in the sudo group to invoke the InstallPackage method without password authentication. By default, the first user created on Deepin is in the sudo group. An attacker with shell access can craft a .deb package containing a malicious post-install script and use dbus-send to install it via lastore-daemon, resulting in arbitrary code execution as root.

CVE Program

Exploit source choices

3 sources
lastore-daemon D-Bus Privilege Escalation
MSF-linux--local--lastore_daemon_dbus_priv_escMetasploitLinux / remote

This module attempts to gain root privileges on Deepin Linux systems by using lastore-daemon to install a package. The lastore-daemon D-Bus configuration on Deepin Linux permits any user in the sudo group to install arbitrary system packages without providing a password, resulting in code execution as root. By default, the first user created on the system is a member of the sudo group. This module has been tested successfully with lastore-daemon versions 0.9.53-1 on Deepin Linux 15.5 (x64); and 0.9.66-1 on Deepin Linux 15.7 (x64).

2016-02-02lastore_daemon_dbus_priv_esc.rb