🔍 CVE-2022-23555

9.4
CVSS Score
CRITICAL
2022-12-28
2026-06-17 04:30
✅ 완료

🇰🇷 한글 설명

authentik의 초대 URL 토큰이 특정 등록 흐름(enrollment flow)에 종속되지 않는 인증 결함이 발견되었습니다. 공격자가 유효한 초대 토큰을 보유한 경우, 다른 권한을 가진 등록 흐름의 이름을 알아내어 이를 통해 접근 제어를 우회하고 부적절한 권한으로 가입할 수 있습니다.

💡 쉬운 설명

초대 링크를 통해 가입할 때, 원래 허용된 방식이 아닌 다른 방식(예: 관리자용 가입 방식)을 강제로 선택하여 가입할 수 있는 보안 허점입니다. 이로 인해 일반 사용자가 권한이 높은 계정으로 잘못 가입될 위험이 있습니다.

🇺🇸 원문 (English)

authentik is an open-source Identity Provider focused on flexibility and versatility. Versions prior to 2022.11.4 and 2022.10.4 are vulnerable to Improper Authentication. Token reuse in invitation URLs leads to access control bypass via the use of a different enrollment flow than in the one provided. The vulnerability allows an attacker that knows different invitation flows names (e.g. `enrollment-invitation-test` and `enrollment-invitation-admin`) via either different invite links or via brute forcing to signup via a single invitation url for any valid invite link received (it can even be a url for a third flow as long as it's a valid invite) as the token used in the `Invitations` section of the Admin interface does NOT change when a different `enrollment flow` is selected via the interface and it is NOT bound to the selected flow, so it will be valid for any flow when used. This issue is patched in authentik 2022.11.4,2022.10.4 and 2022.12.0. Only configurations that use invitations and have multiple enrollment flows with invitation stages that grant different permissions are affected. The default configuration is not vulnerable, and neither are configurations with a single enrollment flow. As a workaround, fixed data can be added to invitations which can be checked in the flow to deny requests. Alternatively, an identifier with high entropy (like a UUID) can be used as flow slug, mitigating the attack vector by exponentially decreasing the possibility of discovering other flows.

📍 영향받는 시스템

authentik versions prior to 2022.11.4 and 2022.10.4

⚔️ 공격 벡터

유효한 초대 토큰을 사용하여 다른 등록 흐름(enrollment flow)의 이름을 입력하거나 무차별 대입하여 접근 제어 우회

🛡️ 대응 방법

authentik 2022.11.4, 2022.10.4 또는 2022.12.0 이상 버전으로 업데이트

🔧 검증 코드

설치된 authentik의 버전을 확인하여 취약한 버전 범위에 해당하는지 점검하십시오.

Shell / Script
python3 -c 'import requests; r = requests.get("http://<target_ip>/api/v3/flows/"); print(r.status_code)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access