🇰🇷 한글 설명
Spacewalk 2.10 및 Uyuni 2021.08 버전에서 설정 파일 이름에 대한 검증 미흡으로 인해 코드 주입 공격이 가능합니다. 공격자가 --option 인자를 사용하여 루트 권한으로 실행되는 파일에 임의의 코드를 삽입할 수 있는 취약점입니다.
💡 쉬운 설명
설정 파일을 만드는 과정에서 이름 검사를 제대로 하지 않아, 해커가 악성 명령어를 몰래 끼워 넣을 수 있는 문제입니다. 이 명령어가 실행되면 해커가 컴퓨터의 최고 관리자 권한을 가질 수 있습니다.
🇺🇸 원문 (English)
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
📍 영향받는 시스템
Spacewalk 2.10, Uyuni 2021.08 및 관련 파생 버전
⚔️ 공격 벡터
rhn-config-satellite.pl 스크립트의 파일 이름 미검증을 이용한 --option 인자 주입
🛡️ 대응 방법
Uyuni spacewalk-admin 4.3.2-1 버전 이상으로 업데이트
🔧 검증 코드
명령어 결과에 '4.3.2-1' 이상의 버전이 출력되면 취약점이 해결된 상태입니다.
rpm -q spacewalk-admin 2>/dev/null | grep -E '4.3.2-1'