🇰🇷 한글 설명
draw.io의 특정 버전에서 IPv6 ULA 주소 검증 로직의 오류로 인해 내부 네트워크 자원에 접근할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 AWS 메타데이터와 같은 클라우드 내부 정보나 다른 IPv6 서비스의 데이터를 탈취할 수 있습니다.
💡 쉬운 설명
draw.io 프로그램이 내부 주소를 차단하는 과정에서 실수로 특정 주소 형식을 놓치는 보안 허점이 있습니다. 이를 이용해 해커가 회사의 내부 비밀 정보나 클라우드 설정 정보를 몰래 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
draw.io is a configurable diagramming and whiteboarding application. Prior to version 30.3.8, src/main/java/com/mxgraph/online/Utils.java checks IPv6 Unique Local Addresses in Utils.sanitizeUrl() by comparing the text prefixes fc00:: and fd00::, but the JDK returns the expanded address form, so the fc00::/7 range, including the AWS metadata range fd00:ec2::/32, is not blocked. An unauthenticated request to /embed2.js?fetch= can therefore make src/main/java/com/mxgraph/online/EmbedServlet2.java fetch an IPv6 ULA internal resource and reflect the response to the requester. Utils.validatedAddress() uses the same private-address check for the separate ProxyServlet path, which requires ENABLE_DRAWIO_PROXY=1. The primary /embed2.js path requires no proxy feature flag or DNS rebinding, and it can disclose cloud metadata credentials or data from other IPv6-reachable internal services. This issue is fixed in version 30.3.8.
📍 영향받는 시스템
draw.io 30.3.8 미만 버전
⚔️ 공격 벡터
인증되지 않은 사용자가 /embed2.js?fetch= 경로에 조작된 IPv6 주소를 요청하여 내부 리소스를 호출함
🛡️ 대응 방법
draw.io를 최신 버전인 30.3.8 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 30.3.8 이상의 버전 번호가 포함되어 있는지 확인하십시오.
curl -s http://<target-host>/version | grep -E '30\.3\.8'