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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Wuhan Deepin Technology | Deepin Linux | 0.9.53-1 (Deepin 15.5), 0.9.66-1 (Deepin 15.7) | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
lastore-daemon D-Bus Privilege Escalation
exploit/linux/local/lastore_daemon_dbus_priv_esc
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.exploit-db.com/exploits/39433 exploit
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/local/lastore_daemon_dbus_priv_esc.rb exploit
- https://github.com/linuxdeepin/lastore-daemon product
- https://www.deepin.org/en/mirrors/releases/ product
- https://www.exploit-db.com/exploits/44523 exploit
- https://www.vulncheck.com/advisories/deepin-lastore-daemon-priv-esc third-party-advisory