🇰🇷 한글 설명
yast2-auth-client의 OS 명령 주입 취약점으로, Active Directory 설정값을 제어할 수 있는 공격자가 대상 호스트에서 루트 권한으로 임의의 명령을 실행할 수 있습니다. Auth::AuthConf 모듈이 구성 값을 검증하거나 셸 인용 처리를 하지 않은 채 Open3 메서드를 통해 실행하기 때문에 발생합니다.
💡 쉬운 설명
Active Directory 설정 항목에 악성 명령어를 입력하면 컴퓨터가 이를 명령으로 착각하여 실행하는 보안 결함입니다. 공격자가 이 방법을 사용하면 관리자 권한을 탈취하여 시스템을 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
A OS command injection vulnerability in yast2-auth-client allows an attacker who controls Active Directory configuration values to execute arbitrary commands as root on the configured host.
Auth::AuthConf in src/lib/auth/authconf.rb assembles the Samba net ads join, net ads lookup -S and net ads testjoin invocations by interpolating configuration values into a single command string and passing that string to Open3.popen2 / Open3.capture2, which causes Ruby to run it through /bin/sh. The Organizational Unit (ou), dnshostname, AD user name and AD domain name values are neither validated nor shell-quoted.
📍 영향받는 시스템
yast2-auth-client (Active Directory 구성 관련 버전)
⚔️ 공격 벡터
Active Directory의 OU, 호스트 이름, 사용자 이름 또는 도메인 이름 설정값에 악성 셸 명령어를 삽입하여 공격
🛡️ 대응 방법
yast2-auth-client 패키지를 최신 보안 패치가 적용된 버전으로 업데이트하거나, 신뢰할 수 없는 AD 설정값 입력을 차단하십시오.
🔧 검증 코드
명령어 결과에 yast2-auth-client가 나타나면 해당 패키지의 설치 여부와 버전을 확인하여 취약한 버전인지 점검하십시오.
dpkg -l | grep yast2-auth-client