🇰🇷 한글 설명
n8n 워크플로우 자동화 플랫폼의 OpenAI Chat Model 노드에서 발생하는 취약점입니다. 모델 검색 드롭다운 기능이 인증 정보의 허용 도메인 제한을 검증하지 않아, 공격자가 임의의 호스트로 인증 정보를 전송하도록 유도할 수 있습니다. 이 문제는 1.123.76, 2.37.7, 2.38.2 버전에서 수정되었습니다.
💡 쉬운 설명
n8n의 특정 설정 메뉴에서 모델을 검색할 때, 사용자의 비밀 키를 공격자가 만든 가짜 사이트로 몰래 보내버릴 수 있는 문제입니다. 이를 통해 공격자는 사용자의 OpenAI 계정 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the OpenAI Chat Model node enforced credential allowed-domain restrictions for normal calls but not for the model-search dropdown. A workflow editor could set options.baseURL to an arbitrary host and make the searchModels path send the openAiApi credential there. The affected implementation is packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/methods/loadModels.ts, which omitted assertOpenAiCredentialAllowsUrl. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
📍 영향받는 시스템
n8n versions prior to 1.123.76, 2.37.7, and 2.38.2
⚔️ 공격 벡터
워크플로우 에디터에서 options.baseURL을 임의의 호스트로 설정하여 searchModels 경로로 인증 정보를 전송하게 함
🛡️ 대응 방법
n8n을 최신 보안 패치가 적용된 버전(1.123.76, 2.37.7, 2.38.2 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 n8n의 버전이 취약점이 해결된 버전(1.123.76, 2.37.7, 2.38.2 이상)인지 확인합니다.
npm list -g n8n | grep n8n