🇰🇷 한글 설명
Meta Ads MCP의 upload_ad_image 도구가 이미지 URL을 검증 없이 처리하여 발생하는 서버 측 요청 위조(SSRF) 취약점입니다. 공격자는 이를 통해 내부 네트워크, 클라우드 메타데이터 엔드포인트 또는 루프백 서비스에 접근하여 내부 데이터를 노출하거나 서비스를 중단시킬 수 있습니다.
💡 쉬운 설명
AI 광고 도구가 사용자가 준 이미지 주소를 확인 없이 무작정 접속하려다 발생하는 문제입니다. 이를 악용하면 공격자가 AI 서버를 조종해 회사 내부의 비밀 정보나 관리자 페이지에 몰래 접근할 수 있습니다.
🇺🇸 원문 (English)
Meta Ads MCP is a Model Context Protocol (MCP) server that lets AI assistants run Meta Ads. Prior to version 1.0.115, the upload_ad_image tool in meta_ads_mcp/core/ads.py passes an attacker-controlled image_url to try_multiple_download_methods() in meta_ads_mcp/core/utils.py, where httpx.AsyncClient uses follow_redirects=True and performs HTTP requests without validating the scheme, host, or resolved IP address. In a streamable-http deployment, a network caller can use any non-empty authorization value because Meta credential validation occurs after the image download, then direct the server to loopback services, private-network addresses, cloud metadata endpoints, or redirect-chained internal targets. The resulting server-side request forgery can expose internal data, invoke state-changing internal services, or disrupt reachable services. This issue is fixed in version 1.0.115.
📍 영향받는 시스템
Meta Ads MCP version 1.0.115 미만 버전
⚔️ 공격 벡터
조작된 image_url을 전달하여 서버가 내부 네트워크나 메타데이터 서비스로 요청을 보내도록 유도
🛡️ 대응 방법
Meta Ads MCP를 최신 버전인 1.0.115 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 1.0.115보다 낮으면 취약한 상태입니다.
pip show meta-ads-mcp | grep Version