🔍 CVE-2019-19232

7.5
CVSS Score
HIGH
2019-12-19
2026-06-17 02:26
✅ 완료

🇰🇷 한글 설명

Sudo 1.8.29 이하 버전에서 Runas ALL 권한을 가진 사용자가 존재하지 않는 숫자 UID를 사용하여 다른 사용자로 가장할 수 있는 취약점입니다. 유지보수자는 이를 의도된 기능으로 간주하지만, 보안상 예기치 않은 사용자 사칭 위험이 존재합니다.

💡 쉬운 설명

관리자 권한을 가진 사람이 시스템에 등록되지 않은 가짜 사용자 번호를 이용해 마치 다른 사람인 것처럼 행동할 수 있는 문제입니다. 이로 인해 시스템 보안 정책을 우회할 가능성이 있습니다.

🇺🇸 원문 (English)

In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo as a user not present in the local password database is an intentional feature. Because this behavior surprised some users, sudo 1.8.30 introduced an option to enable/disable this behavior with the default being disabled. However, this does not change the fact that sudo was behaving as intended, and as documented, in earlier versions

📍 영향받는 시스템

Sudo 1.8.29 및 그 이전 버전

⚔️ 공격 벡터

Runas ALL 권한을 가진 계정에서 존재하지 않는 숫자 UID를 인자로 전달하여 sudo 실행

🛡️ 대응 방법

Sudo를 1.8.30 이상 버전으로 업데이트하거나 관련 설정을 비활성화함

🔧 검증 코드

출력 결과에 Sudo 1.8.29 이하 버전이 표시되면 취약한 버전일 가능성이 높음

Shell / Script
sudo --version | grep -E 'Sudo 1\.(8\.[0-2][0-9])'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

💻 영향받는 소프트웨어

Sudo