🔍 CVE-2024-41664

5.4
CVSS Score
MEDIUM
2024-07-23
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Canarytokens.org의 Webhook 알림 기능에서 URL 검증 없이 테스트 요청을 수행하는 blind SSRF 취약점이 존재했습니다. 이를 통해 공격자는 조직 내부 네트워크의 포트 상태를 파악할 수 있었습니다. sha-8ea5315 이후 버전에서 패치되었습니다.

💡 쉬운 설명

Canarytokens.org가 사용자가 입력한 웹 주소를 검증 없이 접근하려 시도했습니다. 이를 악용하면 회사 내부 네트워크의 어떤 포트가 열려있는지 알아낼 수 있었습니다.

🇺🇸 원문 (English)

Canarytokens help track activity and actions on a network. Prior to `sha-8ea5315`, Canarytokens.org was vulnerable to a blind SSRF in the Webhook alert feature. When a Canarytoken is created, users choose to receive alerts either via email or via a webhook. If a webhook is supplied when a Canarytoken is first created, the site will make a test request to the supplied URL to ensure it accepts alert notification HTTP requests. No safety checks were performed on the URL, leading to a Server-Side Request Forgery vulnerability. The SSRF is Blind because the content of the response is not displayed to the creating user; they are simply told whether an error occurred in making the test request. Using the Blind SSRF, it was possible to map out open ports for IPs inside the Canarytokens.org infrastructure. This issue is now patched on Canarytokens.org. Users of self-hosted Canarytokens installations can update by pulling the latest Docker image, or any Docker image after `sha-097d91a`.

📍 영향받는 시스템

Canarytokens.org 및 sha-8ea5315/sha-097d91a 이전의 self-hosted Canarytokens 설치

⚔️ 공격 벡터

Webhook 기능 생성 시 검증되지 않은 URL을 제공하여 서버의 테스트 요청 유도

🛡️ 대응 방법

Canarytokens.org는 자동 패치됨, self-hosted 사용자는 sha-097d91a 이후의 Docker 이미지로 업데이트

🔧 검증 코드

'Patched' 출력시 취약점 해결됨, 'Vulnerable' 출력시 업데이트 필요

Shell / Script
git log -1 --format=%h 2>/dev/null | grep -E '^097d91a|^8ea5315' && echo 'Patched' || echo 'Vulnerable'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker