🇰🇷 한글 설명
오픈소스 ID 제공자인 authentik의 특정 버전에서 X-Forwarded-For 및 X-Real-IP 헤더의 출처를 검증하지 않는 취약점이 발견되었습니다. 이로 인해 공격자가 IP 주소를 위조하여 로그 기록을 조작하거나, IP 기반의 보안 정책 및 2단계 인증(2FA) 우회를 시도할 수 있습니다.
💡 쉬운 설명
사용자의 실제 접속 위치(IP 주소)를 속일 수 있는 보안 결함입니다. 이를 통해 회사 내부망에 있는 것처럼 속여 보안 검사를 통과하거나, 접속 기록을 가짜로 남길 수 있습니다.
🇺🇸 원문 (English)
authentik is an open-source Identity Provider. Prior to versions 2023.4.3 and 2023.5.5, authentik does not verify the source of the X-Forwarded-For and X-Real-IP headers, both in the Python code and the go code. Only authentik setups that are directly accessible by users without a reverse proxy are susceptible to this. Possible spoofing of IP addresses in logs, downstream applications proxied by (built in) outpost, IP bypassing in custom flows if used.
This poses a possible security risk when someone has flows or policies that check the user's IP address, e.g. when they want to ignore the user's 2 factor authentication when the user is connected to the company network. A second security risk is that the IP addresses in the logfiles and user sessions are not reliable anymore. Anybody can spoof this address and one cannot verify that the user has logged in from the IP address that is in their account's log. A third risk is that this header is passed on to the proxied application behind an outpost. The application may do any kind of verification, logging, blocking or rate limiting based on the IP address, and this IP address can be overridden by anybody that want to.
Versions 2023.4.3 and 2023.5.5 contain a patch for this issue.
📍 영향받는 시스템
authentik versions prior to 2023.4.3 and 2023.5.5
⚔️ 공격 벡터
HTTP 헤더(X-Forwarded-For, X-Real-IP)를 조작하여 가짜 IP 주소를 전송
🛡️ 대응 방법
authentik을 2023.4.3 또는 2023.5.5 이상의 버전으로 업데이트
🔧 검증 코드
출력된 버전이 2023.4.3 또는 2023.5.5보다 낮은지 확인하십시오.
python3 -c 'import authentik; print(authentik.__version__)' 2>/dev/null || echo 'Check version via package manager or docker image tag'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
💻 영향받는 소프트웨어
IBM Verify Identity Access