🇰🇷 한글 설명
389 Directory Server의 SASL I/O 계층에서 정수 오버플로우 취약점이 발견되었습니다. 조작된 SASL 패킷 길이 값으로 인해 nsslapd-maxsasliosize 제한을 우회하여 힙 버퍼 오버플로우가 발생할 수 있습니다. 무결성 보호가 적용된 SASL 바인드 성공 후 원격 공격자가 서비스 거부(DoS) 또는 원격 코드 실행(RCE)을 일으킬 수 있습니다.
💡 쉬운 설명
디렉터리 서버가 네트워크로 받는 인증 데이터의 크기를 잘못 계산하는 결함이 있습니다. 인증에 성공한 사용자가 악의적인 데이터를 보내면 서버가 멈추거나 공격자가 서버를 장악할 수 있습니다.
🇺🇸 원문 (English)
An integer overflow flaw was found in the SASL I/O layer of 389 Directory Server (389-ds-base). In sasl_io_start_packet(), adding sizeof(uint32_t) to a crafted SASL packet length prefix of 0xFFFFFFFC causes unsigned wraparound to zero, bypassing the nsslapd-maxsasliosize limit and leading to a heap buffer overflow of up to approximately 2 megabytes of attacker-controlled data. After a successful SASL bind with integrity protection (SSF > 0), a remote attacker can cause a Denial of Service (DoS) or achieve Remote Code Execution (RCE). In FreeIPA and Red Hat Identity Management deployments, any domain user with a valid Kerberos ticket, enrolled host, or service account can trigger this vulnerability over the network. This flaw is independent of CVE-2025-14905, which patched schema.c only and did not modify sasl_io.c.
📍 영향받는 시스템
389 Directory Server(389-ds-base) 및 이를 기반으로 한 FreeIPA, Red Hat Identity Management 배포 환경
⚔️ 공격 벡터
도메인 사용자, 등록된 호스트 또는 서비스 계정 등 유효한 인증 정보를 가진 공격자가 네트워크를 통해 조작된 SASL 패킷을 전송
🛡️ 대응 방법
389-ds-base 패키지를 벤더가 제공하는 최신 보안 업데이트 버전으로 즉시 업데이트
🔧 검증 코드
출력된 설치 버전을 벤더의 보안 권고문에 명시된 수정 버전과 비교하여 같거나 높으면 패치된 것이고, 낮거나 패키지가 없으면 취약 또는 미설치 상태입니다.
rpm -q 389-ds-base 2>/dev/null || dpkg -l 389-ds-base 2>/dev/null | grep 389-ds-base