🔍 CVE-2024-3183

8.1
CVSS Score
HIGH
2024-06-12
2026-11-04 22:17
✅ 완료

🇰🇷 한글 설명

FreeIPA에서 Kerberos TGS-REQ 처리 시 티켓이 세션 키가 아닌 대상 principal의 키로 직접 암호화되는 취약점이 발견되었습니다. 사용자 principal의 키는 사용자 비밀번호와 공개된 salt의 해시이므로, 공격자는 획득한 티켓을 오프라인에서 무차별 대입하여 비밀번호를 찾아낼 수 있습니다.

💡 쉬운 설명

공격자가 한 계정을 장악하면 다른 계정의 암호화된 인증 티켓을 얻을 수 있습니다. 이 티켓을 외부에서 반복 대입해 비밀번호를 알아낼 수 있습니다.

🇺🇸 원문 (English)

A vulnerability was found in FreeIPA in a way when a Kerberos TGS-REQ is encrypted using the client’s session key. This key is different for each new session, which protects it from brute force attacks. However, the ticket it contains is encrypted using the target principal key directly. For user principals, this key is a hash of a public per-principal randomly-generated salt and the user’s password. If a principal is compromised it means the attacker would be able to retrieve tickets encrypted to any principal, all of them being encrypted by their own key directly. By taking these tickets and salts offline, the attacker could run brute force attacks to find character strings able to decrypt tickets when combined to a principal salt (i.e. find the principal’s password).

📍 영향받는 시스템

FreeIPA 서버 (패치 이전 버전, 세부 영향 버전은 Red Hat/FreeIPA 보안 권고 확인 필요)

⚔️ 공격 벡터

인증된 principal 탈취 후 TGS 티켓을 수집하여 오프라인 무차별 대입으로 사용자 비밀번호 복원

🛡️ 대응 방법

FreeIPA 벤더 제공 최신 패치 버전으로 업데이트하고 강력한 비밀번호 정책을 적용

🔧 검증 코드

출력된 설치 버전을 벤더 보안 권고의 수정 버전과 비교하여 같거나 높으면 패치 완료, 낮으면 업데이트 필요로 판단합니다.

Shell / Script
rpm -q freeipa-server 2>/dev/null || dpkg -l freeipa-server 2>/dev/null | grep freeipa

📊 CVSS Vector String

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