CVE-2026-61898 accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
설명
The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed 'e' flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.
영향 받는 제품 제품 1개
-
해결 버전 있음
Canonical
accountsservice
영향 받는 버전
- 22.07.5-2ubuntu1 이상 22.07.5-2ubuntu1.6 미만
- 23.13.9-2ubuntu6 이상 23.13.9-2ubuntu6.1 미만
- 23.13.9-8ubuntu5 이상 23.13.9-8ubuntu5.2 미만
- 23.13.9-8ubuntu6 이상 23.13.9-8ubuntu7 미만
해결 버전
- 22.07.5-2ubuntu1.6 이상
- 23.13.9-2ubuntu6.1 이상
- 23.13.9-8ubuntu5.2 이상
- 23.13.9-8ubuntu7 이상