🇰🇷 한글 설명
Telnyx MCP 서버가 모든 네트워크 인터페이스에서 HTTP 전송을 노출하며 호출자 인증을 요구하지 않는 취약점이 발견되었습니다. 인증되지 않은 공격자가 서버에 접근할 경우, 서버에 저장된 Telnyx API 키, 클라이언트 비밀번호 및 코드 실행 키가 포함된 요청을 상위 엔드포인트로 전달하여 권한을 탈취할 수 있습니다.
💡 쉬운 설명
인증 절차 없이 누구나 서버에 접속할 수 있는 보안 구멍이 있어, 공격자가 서버의 중요한 비밀번호와 권한을 마음대로 사용할 수 있는 상태입니다. 이를 통해 공격자는 마치 정당한 관리자인 것처럼 시스템을 조작할 수 있습니다.
🇺🇸 원문 (English)
The Telnyx MCP server exposed its HTTP transport on every interface and did not require a caller credential. packages/mcp-server/src/http.ts served MCP on the root path with a listener bound to all interfaces and parsed the caller's authentication headers in a mode that did not fail when they were absent, so a request without any credential completed initialisation and dispatched tools. Dispatch forwarded the server's own stored credentials, the Telnyx API key and client secret together with the code-execution key, to the upstream endpoint, so an unauthenticated caller able to reach the port acted with them. The current code defaults the host to loopback, requires a server API key, and enforces it in middleware.
📍 영향받는 시스템
Telnyx MCP server (packages/mcp-server/src/http.ts 기반 버전)
⚔️ 공격 벡터
인증되지 않은 HTTP 요청을 통해 서버의 API 키 및 코드 실행 권한을 탈취하는 원격 공격
🛡️ 대응 방법
서버 호스트를 루프백(loopback)으로 제한하고, 미들웨어를 통해 API 키 인증을 강제하도록 업데이트하십시오.
🔧 검증 코드
인증 헤더 없이 요청했을 때 200 OK 응답이 오면 취약한 상태이며, 인증 실패(401 Unauthorized 등)가 발생해야 안전합니다.
curl -I http://<target-ip>:<port>/