🇰🇷 한글 설명
n8n의 OAuth2 인증 코드-액세스 토큰 교환 과정에서 SSRF 보호 기능이 우회되는 취약점이 발견되었습니다. 공격자는 권한을 이용해 액세스 토큰 URL을 내부 주소로 설정함으로써, n8n이 내부 네트워크로 POST 요청을 보내고 그 응답을 탈취할 수 있습니다.
💡 쉬운 설명
n8n 프로그램의 보안 구멍을 이용해 공격자가 내부 네트워크에 몰래 접근하여 정보를 빼낼 수 있는 문제입니다. 인증 과정에서 보안 검사를 거치지 않는 통로가 있어 발생합니다.
🇺🇸 원문 (English)
n8n before 1.123.69, 2.33.4, and 2.34.1 contains an SSRF protection bypass in the OAuth2 credential authorization-code-to-access-token exchange. While OAuth2 discovery and dynamic-client-registration requests use n8n's SSRF-protected HTTP client, the token exchange uses a separate client with no SSRF guard. A user with credential-creation permissions can set the access-token URL to an internal address and complete the OAuth2 flow, causing n8n to send a fixed-shape token-exchange POST to that target and reflect its response body back to the attacker (limited to what the target returns to this specific request).
📍 영향받는 시스템
n8n versions before 1.123.69, 2.33.4, and 2.34.1
⚔️ 공격 벡터
OAuth2 자격 증명 생성 권한을 가진 사용자가 액세스 토큰 URL을 내부 IP/도메인으로 설정하여 SSRF 공격 수행
🛡️ 대응 방법
n8n을 최신 보안 패치가 적용된 버전(1.123.69, 2.33.4, 2.34.1 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 n8n의 버전을 확인하여 취약한 버전 범위에 해당하는지 체크합니다.