🔍 CVE-2026-49857

7.4
CVSS Score
HIGH
2026-08-13
2026-10-24 16:10
✅ 완료

🇰🇷 한글 설명

auth-fetch-mcp의 SSRF 방어 로직에서 IPv4-mapped IPv6 루프백 주소를 제대로 탐지하지 못하는 취약점이 발견되었습니다. 공격자가 특수하게 조작된 IPv6 형식의 주소를 사용하면 내부 네트워크 및 루프백 서비스에 접근할 수 있습니다. 버전 3.0.1에서 이 문제가 해결되었습니다.

💡 쉬운 설명

AI가 웹사이트 내용을 가져올 때 내부 보안 구역에 접근하지 못하도록 막는 기능이 특정 주소 형식에서 작동하지 않는 문제입니다. 이를 통해 공격자가 허용되지 않은 내부 시스템에 접속할 위험이 있습니다.

🇺🇸 원문 (English)

auth-fetch-mcp is an MCP server that lets AI assistants fetch content from authenticated web pages. Version 3.0.1 implements SSRF protection in `assertSafeUrl()` (`src/security.ts`) to block requests to private and loopback addresses. However, the `isPrivateV6()` function fails to detect IPv4-mapped IPv6 loopback addresses in their hex-normalized form. When an attacker supplies a URL such as `http://[::ffff:127.0.0.1]:PORT/`, the Node.js WHATWG URL parser silently normalizes the host to `[::ffff:7f00:1]`. Because `net.isIPv4('7f00:1')` returns `false`, the private-IP check is bypassed and the URL is passed to the browser or HTTP client, allowing the MCP tool to reach loopback services that are supposed to be blocked. The issue is exploitable under default configuration without any special environment variable. Version 3.0.1 patches the issue.

📍 영향받는 시스템

auth-fetch-mcp 3.0.1 미만 버전

⚔️ 공격 벡터

IPv4-mapped IPv6 주소(예: http://[::ffff:127.0.0.1]:PORT/)를 입력하여 SSRF 방어 로직을 우회

🛡️ 대응 방법

auth-fetch-mcp를 최신 패치 버전인 3.0.1 이상으로 업데이트

🔧 검증 코드

출력된 버전이 3.0.1 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
npm list auth-fetch-mcp

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Web Services