🇰🇷 한글 설명
Toonflow-app 1.1.1 이하 버전의 Storyboard Export 컴포넌트 내 updateStoryboardUrl 함수에서 url 매개변수 검증 부족으로 인한 경로 순회 취약점입니다. 원격에서 공격 가능하며, 사용자가 코드를 수정하거나 신뢰할 수 없는 URL이 설정되면 악용될 수 있습니다.
💡 쉬운 설명
파일 경로를 입력받을 때 제대로 검증하지 않아 의도한 폴더 밖의 파일에 접근할 수 있는 취약점입니다. 공격자가 조작된 URL을 통해 시스템의 민감한 파일을 접근할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was identified in HBAI-Ltd Toonflow-app up to 1.1.1. This issue affects the function updateStoryboardUrl of the file replaceUrl.ts of the component Storyboard Export. Such manipulation of the argument url leads to path traversal. It is possible to launch the attack remotely. The exploit is publicly available and might be used. It is still unclear if this vulnerability genuinely exists. The vendor explains in a reply to the issue report, that "[t]he URL of this interface is designed to only be a local address or a trusted domain address configured in docker, and will not contain malicious links, unless the user modifies the code causing unexpected situations."
📍 영향받는 시스템
HBAI-Ltd Toonflow-app 버전 1.1.1 이하
⚔️ 공격 벡터
URL 매개변수 조작을 통한 원격 경로 순회 공격
🛡️ 대응 방법
Toonflow-app을 1.1.2 이상으로 업그레이드하거나 URL 입력값에 대한 화이트리스트 검증 및 정규화 적용
🔧 검증 코드
버전 1.1.1 이하가 출력되면 취약점이 있는 버전입니다. 버전이 없거나 1.2 이상이면 안전합니다.
npm list toonflow-app 2>/dev/null | grep -E 'toonflow-app@[0-1]\.[0-1]\.[0-1]'