🔍 CVE-2023-22475

6.3
CVSS Score
MEDIUM
2023-01-06
2026-06-17 05:35
✅ 완료

🇰🇷 한글 설명

Canarytokens의 트리거 히스토리 페이지에서 교차 사이트 스크립팅(XSS) 취약점이 발견되었습니다. 공격자가 HTTP 기반 Canarytoken URL을 발견할 경우, 해당 토큰의 생성자가 히스토리 페이지를 방문할 때 자바스크립트를 실행할 수 있습니다. 이를 통해 토큰을 삭제하거나 생성자의 이메일 주소 및 네트워크 위치와 같은 민감한 정보를 탈취할 수 있습니다.

💡 쉬운 설명

가짜 함정(Canarytoken)을 설치해 둔 사용자가 함정이 작동한 기록을 확인하러 들어갔을 때, 공격자가 심어놓은 악성 코드가 실행될 수 있는 문제입니다. 공격자는 이를 통해 사용자의 개인정보를 훔치거나 함정을 무력화할 수 있습니다.

🇺🇸 원문 (English)

Canarytokens is an open source tool which helps track activity and actions on your network. A Cross-Site Scripting vulnerability was identified in the history page of triggered Canarytokens prior to sha-fb61290. An attacker who discovers an HTTP-based Canarytoken (a URL) can use this to execute Javascript in the Canarytoken's trigger history page (domain: canarytokens.org) when the history page is later visited by the Canarytoken's creator. This vulnerability could be used to disable or delete the affected Canarytoken, or view its activation history. It might also be used as a stepping stone towards revealing more information about the Canarytoken's creator to the attacker. For example, an attacker could recover the email address tied to the Canarytoken, or place Javascript on the history page that redirect the creator towards an attacker-controlled Canarytoken to show the creator's network location. This vulnerability is similar to CVE-2022-31113, but affected parameters reported differently from the Canarytoken trigger request. An attacker could only act on the discovered Canarytoken. This issue did not expose other Canarytokens or other Canarytoken creators. Canarytokens Docker images sha-fb61290 and later contain a patch for this issue.

📍 영향받는 시스템

Canarytokens Docker images (sha-fb61290 미만 버전)

⚔️ 공격 벡터

공격자가 발견한 HTTP Canarytoken URL을 통해 히스토리 페이지에 악성 스크립트 주입

🛡️ 대응 방법

Canarytokens Docker 이미지를 sha-fb61290 이상 버전으로 업데이트

🔧 검증 코드

출력된 이미지의 ID가 sha-fb61290보다 이전 버전인지 확인하여 취약 여부를 판단합니다.

Shell / Script
docker images --format '{{.Repository}}:{{.Tag}} {{.ID}}' | grep 'canarytokens'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

💻 영향받는 소프트웨어

Docker