🔍 CVE-2023-26481

9.1
CVSS Score
CRITICAL
2023-03-04
2026-06-17 05:43
✅ 완료

🇰🇷 한글 설명

오픈소스 ID 제공자인 authentik에서 권한 확인 미흡으로 인해 발생하는 취약점입니다. 관리자가 생성한 비밀번호 복구 링크를 공격자가 악용할 경우, 임의의 사용자 계정에 대한 비밀번호를 재설정할 수 있습니다. 이 공격은 식별 및 이메일 단계가 포함된 복구 흐름이 존재할 때 가능합니다.

💡 쉬운 설명

비밀번호를 찾는 과정에서 보안 검사가 제대로 이루어지지 않아 발생하는 문제입니다. 공격자가 관리자가 만든 복구 링크를 가로채면 다른 사람의 비밀번호를 마음대로 바꿀 수 있습니다.

🇺🇸 원문 (English)

authentik is an open-source Identity Provider. Due to an insufficient access check, a recovery flow link that is created by an admin (or sent via email by an admin) can be used to set the password for any arbitrary user. This attack is only possible if a recovery flow exists, which has both an Identification and an Email stage bound to it. If the flow has policies on the identification stage to skip it when the flow is restored (by checking `request.context['is_restored']`), the flow is not affected by this. With this flow in place, an administrator must create a recovery Link or send a recovery URL to the attacker, who can, due to the improper validation of the token create, set the password for any account. Regardless, for custom recovery flows it is recommended to add a policy that checks if the flow is restored, and skips the identification stage. This issue has been fixed in versions 2023.2.3, 2023.1.3 and 2022.12.2.

📍 영향받는 시스템

authentik (2023.2.3, 2023.1.3, 2022.12.2 미만 버전)

⚔️ 공격 벡터

관리자가 생성하거나 발송한 비밀번호 복구 링크의 토큰 검증 미흡을 이용한 임의 사용자 비밀번호 재설정

🛡️ 대응 방법

authentik을 최신 보안 패치 버전(2023.2.3, 2023.1.3, 2022.12.2 이상)으로 업데이트하거나 복구 흐름에 식별 단계 건너뛰기 정책을 추가합니다.

🔧 검증 코드

출력된 버전이 취약점이 해결된 버전(2023.2.3, 2023.1.3, 2022.12.2 이상)인지 확인합니다.

Shell / Script
python3 -c "import authentik; print(authentik.__version__)" 2>/dev/null || echo 'Check version via package manager or docker image tag'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access