🇰🇷 한글 설명
Cosmos 0.22.18 버전에서 특정 API 엔드포인트가 인증 토큰을 검증하지 않고 Constellation 장치의 메타데이터를 노출하는 취약점이 발견되었습니다. 공격자가 비어 있지 않은 Authorization 헤더를 포함하여 요청을 보내면 인증 없이 민감한 정보에 접근할 수 있습니다.
💡 쉬운 설명
로그인 정보가 가짜이거나 비어 있어도 시스템이 이를 확인하지 않고 중요한 장치 정보를 보여주는 보안 허점입니다. 누구나 가짜 열쇠를 내밀기만 하면 금고 안의 정보를 훔쳐볼 수 있는 상태와 같습니다.
🇺🇸 원문 (English)
Cosmos provides users the ability self-host a home server by acting as a secure gateway to your application, as well as a server manager. In 0.22.18, `GET /cosmos/api/constellation/public-devices` discloses Constellation device metadata to a requester that supplies any non-empty Authorization header. The handler strips the string Bearer from the header but never validates the resulting token and never uses it in the database query. This vulnerability is fixed in 0.22.19.
📍 영향받는 시스템
Cosmos 0.22.18 이하 버전
⚔️ 공격 벡터
비어 있지 않은 Authorization 헤더를 포함한 GET /cosmos/api/constellation/public-devices 요청 전송
🛡️ 대응 방법
Cosmos를 0.22.19 이상 버전으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 0.22.18 버전이 포함되어 있다면 해당 취약점에 노출된 상태입니다.
curl -s http://<target-ip>/api/version | grep -E '0.22.18'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
💻 영향받는 소프트웨어
Spring Cloud Gateway Server