🇰🇷 한글 설명
apport-cli 2.26.0 및 이전 버전에서 권한 상승 취약점이 발견되었습니다. 비특권 사용자가 sudo를 통해 apport-cli를 실행할 수 있도록 설정된 특정 환경에서, 터미널 크기 조절과 pager 설정을 악용하여 로컬 공격자가 권한을 상승시킬 수 있습니다.
💡 쉬운 설명
특정 설정이 된 컴퓨터에서 일반 사용자가 관리자 권한을 몰래 획득할 수 있는 보안 약점입니다. 공격자가 터미널 화면 크기를 조작하여 시스템의 통제권을 가로채는 방식입니다.
🇺🇸 원문 (English)
A privilege escalation attack was found in apport-cli 2.26.0 and earlier which is similar to CVE-2023-26604. If a system is specially configured to allow unprivileged users to run sudo apport-cli, less is configured as the pager, and the terminal size can be set: a local attacker can escalate privilege. It is extremely unlikely that a system administrator would configure sudo to allow unprivileged users to perform this class of exploit.
📍 영향받는 시스템
apport-cli 2.26.0 및 그 이전 버전
⚔️ 공격 벡터
로컬 공격자가 sudo 권한이 부여된 apport-cli와 터미널 환경 설정을 악용하는 방식
🛡️ 대응 방법
apport-cli를 최신 버전으로 업데이트하고, 비특권 사용자에게 sudo apport-cli 권한을 부여하지 않도록 설정합니다.
🔧 검증 코드
출력된 버전 정보가 2.26.0 이하인지 확인하여 취약 여부를 판단합니다.
dpkg -l apport | grep -E 'apport'