🇰🇷 한글 설명
IBM Langflow OSS 1.0.0부터 1.10.0 버전에서 APIRequest 컴포넌트의 입력값 검증 미흡으로 인해 임의 파일 쓰기가 가능합니다. 'Save to File' 기능 활성화 시 HTTP 응답 헤더의 파일명을 적절히 정제하지 않아 경로 탐색(Path Traversal) 취약점이 발생합니다. 공격자는 조작된 파일명을 통해 Langflow 프로세스가 접근 가능한 위치에 임의의 파일을 생성할 수 있습니다.
💡 쉬운 설명
프로그램이 파일을 저장할 때 파일 이름에 포함된 위험한 경로 명령어를 걸러내지 못하는 문제입니다. 이를 통해 해커가 시스템의 중요한 위치에 악성 파일을 몰래 저장할 수 있습니다.
🇺🇸 원문 (English)
IBM Langflow OSS 1.0.0 through 1.10.0 Langflow could allow an attacker to write arbitrary files to unintended locations due to improper input validation in the APIRequest component. A path traversal vulnerability exists when the "Save to File" feature is enabled, where filenames extracted from HTTP response Content-Disposition headers are not sanitized before being joined to the temporary directory path. An attacker controlling an external HTTP server can supply crafted filename values containing path traversal sequences (e.g., ../), enabling arbitrary file writes to locations accessible by the Langflow process.
📍 영향받는 시스템
IBM Langflow OSS 1.0.0 ~ 1.10.0
⚔️ 공격 벡터
외부 HTTP 서버를 제어하여 조작된 Content-Disposition 헤더를 포함한 응답을 보내는 방식
🛡️ 대응 방법
Langflow를 최신 보안 패치가 적용된 버전으로 업데이트하고, APIRequest 컴포넌트의 입력값 검증 로직을 강화하십시오.
🔧 검증 코드
출력된 버전이 1.0.0 이상 1.10.0 이하인지 확인하십시오.
pip show langflow | grep Version