🇰🇷 한글 설명
python-utcp 1.1.4 미만 버전의 HttpCommunicationProtocol.call_tool 함수에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자가 제어하는 엔드포인트가 HTTP 리다이렉트를 반환할 경우, 초기 URL 검증을 우회하여 클라이언트가 내부 서비스나 클라우드 메타데이터 엔드포인트에 접근할 수 있습니다.
💡 쉬운 설명
프로그램이 처음에는 안전한 주소인지 확인하지만, 그 주소가 다른 곳으로 연결(리다이렉트)될 때는 다시 확인하지 않는 문제입니다. 이를 통해 해커는 원래 접근할 수 없는 회사의 내부 시스템이나 중요한 정보가 담긴 서버에 몰래 접속할 수 있습니다.
🇺🇸 원문 (English)
python-utcp versions before 1.1.4 contain a server-side request forgery vulnerability in HttpCommunicationProtocol.call_tool that validates the initial tool URL but follows HTTP redirects without re-validating the target. Attackers controlling a tool endpoint can return a 302 redirect to internal services, allowing the UTCP client to reach cloud metadata endpoints or internal HTTP services and return their response bodies to the caller.
📍 영향받는 시스템
python-utcp versions before 1.1.4
⚔️ 공격 벡터
공격자가 제어하는 도구 엔드포인트에서 302 리다이렉트를 사용하여 내부 네트워크로 요청을 유도하는 방식
🛡️ 대응 방법
python-utcp 라이브러리를 1.1.4 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 1.1.4보다 낮으면 취약한 상태이며, 1.1.4 이상이면 안전합니다.
pip show python-utcp | grep Version