🇰🇷 한글 설명
WordPress용 Hippoo Mobile App for WooCommerce 플러그인의 모든 버전(1.7.1 포함)에서 권한 확인 누락으로 인한 임의 파일 쓰기 취약점이 발견되었습니다. REST API 엔드포인트가 인증 없이 접근 가능하도록 설정되어 있어, 공격자가 서버의 공개 업로드 디렉토리에 임의의 JSON 콘텐츠를 작성할 수 있습니다.
💡 쉬운 설명
누구나 허락 없이 서버에 파일을 저장할 수 있는 보안 구멍이 발견되었습니다. 해커가 이 구멍을 통해 악성 파일을 서버에 몰래 심어둘 수 있습니다.
🇺🇸 원문 (English)
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to arbitrary file write via a missing authorization check in all versions up to, and including, 1.7.1. This is due to the REST API endpoint `/wp-json/hippoo/v1/wc/token/save_callback/{token_id}` being registered with `permission_callback => '__return_true'`, which allows unauthenticated access. This makes it possible for unauthenticated attackers to write arbitrary JSON content to the server's publicly accessible upload directory via the vulnerable endpoint.
📍 영향받는 시스템
Hippoo Mobile App for WooCommerce plugin (v1.7.1 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 취약한 REST API 엔드포인트를 통해 서버의 업로드 디렉토리에 임의의 JSON 파일을 생성
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 해당 API 엔드포인트에 대한 적절한 권한 확인 로직을 적용해야 합니다.
🔧 검증 코드
출력된 결과에서 플러그인 이름과 현재 설치된 버전이 1.7.1 이하인지 확인합니다.
wp plugin list --allow-root | grep -E 'hippoo-mobile-app-for-woocommerce'