🇰🇷 한글 설명
Activepieces 0.82.0 미만 버전의 git-sync 기능에서 심볼릭 링크 처리 미흡 및 경로 검증 부재로 인해 임의 파일 쓰기가 가능합니다. 공격자가 제어하는 Git 저장소를 통해 서버의 임의 경로에 파일을 덮어쓸 수 있으며, 이는 데이터 변조, 서비스 거부 또는 원격 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
프로그램이 외부 저장소의 파일을 가져올 때, 가짜 연결 통로(심볼릭 링크)나 특수 문자를 이용해 서버의 중요한 파일을 마음대로 수정할 수 있는 보안 약점이 발견되었습니다. 이를 통해 해커가 서버를 망가뜨리거나 서버를 완전히 장악할 위험이 있습니다.
🇺🇸 원문 (English)
Activepieces is an open source AI workflow automation platform. Prior to 0.82.0, the git-sync feature clones a user-configured Git repository into a temporary directory on the server and then writes flow, table, and connection state into it before pushing back, and two separate weaknesses allowed those writes to escape the intended workspace and land on arbitrary paths on the host filesystem: Git's symbolic-link handling was not disabled on the clone, so an attacker who controlled the remote repository could include symlinks that redirected the writes, and several user-supplied identifiers used to build on-disk paths (the repository slug and the externalId of tables, flows, and connections) were not validated against directory-traversal sequences such as ../. On a self-hosted Enterprise Edition deployment, a user authorized to configure or push to a git-sync repository (holding the WRITE_PROJECT_RELEASE permission) could cause the server to overwrite files anywhere the Activepieces process user can write, which depending on host layout can be leveraged for tampering, denial of service, or remote code execution. This issue is fixed in version 0.82.0.
📍 영향받는 시스템
Activepieces (Enterprise Edition) 0.82.0 미만 버전
⚔️ 공격 벡터
권한이 있는 사용자가 악의적인 심볼릭 링크나 경로 조작 문자(../)가 포함된 Git 저장소를 구성하여 서버 파일 시스템에 접근
🛡️ 대응 방법
Activepieces를 최신 버전인 0.82.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.82.0보다 낮은지 확인하십시오.
curl -s http://localhost:PORT/api/health | grep -oP '(?<=version":")[^"]+' || echo 'Version check failed'