🇰🇷 한글 설명
pyLoad의 특정 버전에서 IPv6 주소 체계(6to4 또는 NAT64)를 처리할 때 내부 IPv4 주소를 제대로 검증하지 못하는 취약점이 발견되었습니다. 공격자는 이를 악용하여 내부 네트워크를 정찰하거나 클라우드 메타데이터를 탈취할 수 있습니다.
💡 쉬운 설명
특수한 형태의 인터넷 주소를 사용하면 보안 검사를 우회하여 내부 네트워크에 접근할 수 있는 결함입니다. 이를 통해 공격자가 내부 시스템 정보를 훔쳐보거나 서비스를 방해할 수 있습니다.
🇺🇸 원문 (English)
pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev101, is_global_address in src/pyload/core/utils/web/check.py relies on Python's global-address classification without examining IPv4 destinations embedded in 6to4 or NAT64 IPv6 addresses. A low-privileged user can submit an IPv6 literal through parse_urls to the pre-resolution is_global_host guard. Because host_to_ip is pinned to AF_INET, that guard does not evaluate a hostname's AAAA result. Separately, curl resolves hostnames before the pycurl PREREQFUNC in src/pyload/core/network/http/http_request.py applies the same vulnerable is_global_address check to the actual connection address, so a transition-form AAAA result can be permitted even when it terminates at an embedded loopback, private, CGNAT, or link-local IPv4 address. Exploitation requires the pyLoad host to route the applicable transition mechanism, including 6to4 on affected Python 3.9 through 3.11 deployments or NAT64 on a network with a NAT64 gateway. Successful exploitation can enable internal-network reconnaissance, timing-based confirmation, limited service disruption, or cloud metadata disclosure where the wrapped address is routable. This issue is fixed in version 0.5.0b3.dev101.
📍 영향받는 시스템
pyLoad 0.5.0b3.dev101 미만 버전 (Python 3.9~3.11 환경 포함)
⚔️ 공격 벡터
IPv6 리터럴 주소를 이용한 parse_urls 함수 호출 및 보안 검사 우회
🛡️ 대응 방법
pyLoad를 최신 버전인 0.5.0b3.dev101 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 0.5.0b3.dev101보다 낮으면 취약한 상태입니다.
python3 -c "import pyload; print(pyload.__version__)" 2>/dev/null || echo 'pyload not installed'