🇰🇷 한글 설명
Budibase의 플러그인 파일 업로드 엔드포인트에서 파일 이름의 경로 탐색(Path Traversal) 시퀀스를 적절히 검증하지 않는 취약점이 발견되었습니다. 글로벌 빌더 권한을 가진 공격자는 파일 이름에 '../'를 포함하여 서버의 임의 디렉토리를 삭제하거나 임의의 경로에 파일을 생성할 수 있습니다.
💡 쉬운 설명
파일 업로드 시 파일 이름을 조작해 서버의 금지된 영역에 접근할 수 있는 문제입니다. 이를 통해 공격자가 서버의 중요한 파일을 지우거나 악성 파일을 저장할 수 있습니다.
🇺🇸 원문 (English)
Budibase is an open-source low-code platform. Prior to version 3.33.4, the plugin file upload endpoint (POST /api/plugin/upload) passes the user-supplied filename directly to createTempFolder() without sanitizing path traversal sequences. An attacker with Global Builder privileges can craft a multipart upload with a filename containing ../ to delete arbitrary directories via rmSync and write arbitrary files via tarball extraction to any filesystem path the Node.js process can access. This issue has been patched in version 3.33.4.
📍 영향받는 시스템
Budibase version 3.33.4 미만
⚔️ 공격 벡터
경로 탐색(Path Traversal) 문자열을 포함한 파일 업로드 요청 전송
🛡️ 대응 방법
Budibase를 최신 버전인 3.33.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.33.4보다 낮은 경우 취약한 상태입니다.
npm list -g @budibase/server | grep -E '3\.[0-9]{2}\.[0-9]'