🇰🇷 한글 설명
bhyveload 도구의 -h 옵션을 사용할 때 호스트 경로에 대한 접근 제한이 없어, 로더가 호스트 사용자가 접근 가능한 모든 파일을 읽을 수 있는 취약점입니다. 악의적으로 제작된 게스트 스크립트를 통해 호스트의 민감한 데이터를 탈취할 수 있으며, 실행 사용자가 root인 경우 피해가 커질 수 있습니다.
💡 쉬운 설명
가상 머신을 실행할 때 호스트 컴퓨터의 파일을 읽을 수 있는 권한 제한이 부족한 문제입니다. 해커가 만든 가짜 파일을 통해 내 컴퓨터에 있는 중요한 정보를 몰래 빼갈 수 있습니다.
🇺🇸 원문 (English)
`bhyveload -h <host-path>` may be used to grant loader access to the <host-path> directory tree on the host. Affected versions of bhyveload(8) do not make any attempt to restrict loader's access to <host-path>, allowing the loader to read any file the host user has access to. In the bhyveload(8) model, the host supplies a userboot.so to boot with, but the loader scripts generally come from the guest image. A maliciously crafted script could be used to exfiltrate sensitive data from the host accessible to the user running bhyhveload(8), which is often the system root.
📍 영향받는 시스템
bhyveload(8) 취약 버전
⚔️ 공격 벡터
악의적으로 조작된 게스트 이미지의 로더 스크립트를 이용한 호스트 파일 탈취
🛡️ 대응 방법
bhyveload의 호스트 경로 접근 제한 기능이 포함된 최신 보안 패치 적용
🔧 검증 코드
설치된 bhyve 패키지의 버전을 확인하여 취약점이 해결된 최신 버전인지 확인합니다.
pkg info bhyve 2>/dev/null | grep -E 'version'