🇰🇷 한글 설명
Hermes WebUI 0.51.311 이전 버전은 인증된 공격자가 Git 구성 파일을 통해 임의의 명령을 실행할 수 있는 원격 코드 실행 취약점을 포함하고 있습니다. 공격자는 Git 서브프로세스 호출을 악용하여 호스트 시스템에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
이 취약점은 로그인한 사용자가 Git 설정 파일을 조작하여 서버에 악성 명령을 실행할 수 있게 합니다. 공격자는 이를 통해 시스템 전체를 장악하거나 데이터를 손상시킬 수 있습니다.
🇺🇸 원문 (English)
Hermes WebUI before version 0.51.311 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by placing malicious executable Git configuration in a workspace repository's .git/config file. Attackers can exploit Git subprocess invocations in api/workspace_git.py through vectors such as core.fsmonitor during git status, protocol.ext.allow with ext:: remotes during git fetch, credential.helper, core.askPass, core.gitProxy, or inherited environment variables including GIT_SSH_COMMAND to achieve arbitrary command execution on the host running the application.
📍 영향받는 시스템
Hermes WebUI version < 0.51.311
⚔️ 공격 벡터
인증된 사용자가 Git 구성 파일(.git/config)에 악성 설정을 삽입하여 Git 서브프로세스를 통해 명령어 주입
🛡️ 대응 방법
Hermes WebUI를 버전 0.51.311 이상으로 즉시 업그레이드하십시오.
🔧 검증 코드
출력된 버전이 0.51.311보다 낮거나 버전 정보가 없으면 취약한 것으로 판단해야 합니다.
hermes-webui --version 2>/dev/null || echo 'version unknown'