🇰🇷 한글 설명
libspf2 1.2.11 이전 버전에서 힙 기반 버퍼 오버플로 취약점이 발견되었습니다. 공격자가 조작된 SPF DNS 레코드를 포함한 이메일을 전송할 경우, 인증되지 않은 원격 공격자가 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
이메일 주소의 유효성을 검사하는 프로그램에서 데이터 처리 오류가 발생하여 발생하는 문제입니다. 나쁜 의도를 가진 이메일을 받기만 해도 해커가 컴퓨터를 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
libspf2 before 1.2.11 has a heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.
📍 영향받는 시스템
libspf2 versions prior to 1.2.11
⚔️ 공격 벡터
조작된 SPF DNS 레코드가 포함된 이메일을 통한 원격 공격
🛡️ 대응 방법
libspf2를 1.2.11 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.2.11보다 낮으면 취약한 상태입니다.
dpkg -l | grep libspf2 2>/dev/null | awk '{print $2, $3}'