🇰🇷 한글 설명
WordPress용 WP Import – Ultimate CSV XML Importer 플러그인의 upload_function() 메서드에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. Bitly 단축 URL을 처리할 때 리다이렉트된 최종 목적지 URL에 대한 재검증이 이루어지지 않아 발생합니다. 이를 통해 인증된 공격자가 내부 네트워크나 클라우드 메타데이터 서비스에 접근하여 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
플러그인이 짧은 주소를 긴 주소로 바꾸는 과정에서 검사를 소홀히 하여 발생하는 문제입니다. 공격자가 이 허점을 이용해 서버가 내부의 비밀 정보가 담긴 주소로 직접 접속하게 만들 수 있습니다.
🇺🇸 원문 (English)
The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 7.35. This is due to inadequate validation of the resolved URL after following Bitly shortlink redirects in the `upload_function()` method. While the initial URL is validated using `wp_http_validate_url()`, when a Bitly shortlink is detected, the `unshorten_bitly_url()` function follows redirects to the final destination URL without re-validating it. This makes it possible for authenticated attackers with Contributor-level access or higher to make the server perform HTTP requests to arbitrary internal endpoints, including localhost, private IP ranges, and cloud metadata services (e.g., 169.254.169.254), potentially exposing sensitive internal data.
📍 영향받는 시스템
WP Import – Ultimate CSV XML Importer 플러그인 7.35 이하 모든 버전
⚔️ 공격 벡터
Contributor 권한 이상의 인증된 사용자가 Bitly 단축 URL을 이용해 내부 IP 또는 메타데이터 서비스로의 요청을 유도함
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, Bitly 단축 URL 기능을 통한 리다이렉트 검증 로직이 포함된 패치를 적용해야 합니다.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치 여부를 확인하고, 설치된 버전이 7.35 이하인지 대조하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'ultimate-csv-xml-importer'