🇰🇷 한글 설명
Deepin Linux의 lastore-daemon 패키지 관리자 데몬에 권한 상향 취약점이 존재합니다. D-Bus 설정이 sudo 그룹의 모든 사용자가 암호 없이 InstallPackage 메서드를 호출할 수 있도록 허용하며, 공격자는 악성 post-install 스크립트가 포함된 .deb 패키지를 설치하여 root 권한으로 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
Deepin Linux의 시스템 패키지 관리 도구에서 일반 사용자가 관리자 권한을 얻을 수 있는 보안 결함이 있습니다. 공격자는 이를 악용하여 컴퓨터를 완전히 제어할 수 있게 됩니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
Deepin Linux 15.5 (lastore-daemon 0.9.53-1), Deepin 15.7 (lastore-daemon 0.9.66-1)
⚔️ 공격 벡터
sudo 그룹의 사용자가 D-Bus를 통해 인증 없이 악성 .deb 패키지를 설치하여 post-install 스크립트를 root 권한으로 실행
🛡️ 대응 방법
Deepin Linux를 최신 버전으로 업그레이드하거나 D-Bus 설정의 InstallPackage 메서드에 대한 인증 요구 사항 추가
🔧 검증 코드
취약한 버전(0.9.53-1 또는 0.9.66-1)이 출력되면 취약하고, 더 높은 버전이거나 미설치 상태면 안전합니다.
dpkg -l lastore-daemon 2>/dev/null | grep -E '0\.9\.(53|66)-1'