🔍 CVE-2023-42118

8.8
CVSS Score
HIGH
2024-05-03
2026-06-17 06:23
✅ 완료

🇰🇷 한글 설명

Exim의 libspf2 라이브러리에서 발생하는 정수 언더플로우 취약점으로, SPF 매크로를 파싱하는 과정에서 사용자 입력 데이터를 적절히 검증하지 않아 발생합니다. 공격자는 이를 통해 네트워크 인접 위치에서 인증 없이 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

이메일 주소를 확인하는 과정에서 숫자를 계산하는 방식에 오류가 있어 발생하는 문제입니다. 해커가 특수하게 조작된 이메일 정보를 보내면 컴퓨터를 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

Exim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17578.

📍 영향받는 시스템

Exim libspf2를 사용하는 시스템

⚔️ 공격 벡터

네트워크를 통해 조작된 SPF 매크로 데이터를 전송하여 공격

🛡️ 대응 방법

Exim 및 libspf2 라이브러리를 최신 보안 패치 버전으로 업데이트

🔧 검증 코드

명령어 결과에 libspf2 패키지가 나타나면 해당 라이브러리가 설치되어 있는 상태입니다.

Shell / Script
dpkg -l | grep libspf2 2>/dev/null || rpm -qa | grep libspf2

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Exim