🇰🇷 한글 설명
Samba의 Spotlight용 mdssvc RPC 서비스에서 무한 루프 취약점이 발견되었습니다. 클라이언트가 전송한 RPC 패킷을 처리할 때 배열 요소 개수를 나타내는 필드를 검증하지 않아, 0을 입력할 경우 CPU 점유율이 100%로 치솟는 무한 루프가 발생합니다. 이로 인해 공격자가 악의적인 RPC 요청을 보내 서비스 거부(DoS) 상태를 유발할 수 있습니다.
💡 쉬운 설명
Samba 프로그램의 특정 기능이 잘못된 숫자를 받으면 멈추지 않고 계속 계산을 반복하는 문제입니다. 이로 인해 컴퓨터의 CPU가 과부하되어 시스템이 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.
📍 영향받는 시스템
Samba mdssvc RPC service (Spotlight 관련 기능 사용 시)
⚔️ 공격 벡터
악의적으로 조작된(count 값이 0인) RPC 요청 패킷 전송
🛡️ 대응 방법
Samba를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 Samba 패키지의 버전을 확인하여 보안 패치가 적용된 최신 버전인지 대조합니다.