🇰🇷 한글 설명
Weblate 5.17 이전 버전의 프로젝트 백업 기능에서 Git, Mercurial 설정 파일을 제대로 필터링하지 않아 공격자가 민감한 구성 정보를 노출시키고 원격 코드를 실행할 수 있다. 프로젝트 생성 권한이 있는 사용자만 백업 접근이 가능하다.
💡 쉬운 설명
Weblate 웹서비스에서 백업 다운로드 시 숨겨야 할 설정 파일들이 포함되어 공격자가 이를 이용해 서버를 장악할 수 있다. 프로젝트를 관리하는 권한이 있는 사용자들만 이 기능을 사용할 수 있다.
🇺🇸 원문 (English)
Weblate is a web based localization tool. In versions prior to 5.17, the project backup didn't filter Git and Mercurial configuration files which could lead to remote code execution under certain circumstances. This issue has been fixed in version 5.17. If developers are unable to update immediately, they can limit the scope of the vulnerability by restricting access to the project backup, as it is only accessible to users who can create projects.
📍 영향받는 시스템
Weblate < 5.17
⚔️ 공격 벡터
프로젝트 백업 기능을 통해 Git/Mercurial 설정 파일을 다운로드하여 원격 코드 실행 수행
🛡️ 대응 방법
Weblate를 5.17 이상으로 즉시 업그레이드하거나, 즉시 업그레이드 불가 시 프로젝트 백업 접근 권한을 최소 권한 사용자로 제한
🔧 검증 코드
출력에서 Version이 5.17 이상이면 패치됨, 5.17 미만이면 취약 상태
pip show weblate 2>/dev/null | grep -E 'Version|Name' || dpkg -l | grep weblate