🇰🇷 한글 설명
Craft CMS의 GraphQL Asset mutation에서 DNS 확인과 HTTP 요청이 분리되어 발생하는 TOCTOU 취약점입니다. 공격자는 DNS 리바인딩을 통해 보안 검사를 우회하고 차단된 IP에 접근할 수 있습니다. 이 취약점은 이전 보안 패치(CVE-2025-68437)를 우회하여 모든 차단된 IP에 접근할 수 있게 합니다.
💡 쉬운 설명
웹사이트가 주소를 확인하는 순간과 실제로 접속하는 순간의 주소가 달라지는 점을 이용한 공격입니다. 이를 통해 원래는 접속이 금지된 내부 네트워크나 보안 구역에 몰래 접근할 수 있습니다.
🇺🇸 원문 (English)
Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, the SSRF validation in Craft CMS’s GraphQL Asset mutation performs DNS resolution separately from the HTTP request. This Time-of-Check-Time-of-Use (TOCTOU) vulnerability enables DNS rebinding attacks, where an attacker’s DNS server returns different IP addresses for validation compared to the actual request. This is a bypass of the security fix for CVE-2025-68437 that allows access to all blocked IPs, not just IPv6 endpoints. Exploitation requires GraphQL schema permissions for editing assets in the `<VolumeName>` volume and creating assets in the `<VolumeName>` volume. These permissions may be granted to authenticated users with appropriate GraphQL schema access and/or Public Schema (if misconfigured with write permissions). Versions 4.16.19 and 5.8.23 patch the issue.
📍 영향받는 시스템
Craft CMS 4.5.0-RC1 ~ 4.16.18 및 5.0.0-RC1 ~ 5.8.22
⚔️ 공격 벡터
DNS 리바인딩을 이용한 SSRF(Server-Side Request Forgery) 공격
🛡️ 대응 방법
Craft CMS를 4.16.19 또는 5.8.23 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 4.16.19 미만이거나 5.8.23 미만인 경우 취약할 수 있습니다.
composer show craft/cms | grep 'versions'