🇰🇷 한글 설명
WordPress용 WC Vendors 플러그인의 'status' 파라미터에서 발생하는 일반적인 SQL 인젝션 취약점입니다. 인증된 상점 관리자 권한을 가진 공격자가 데이터베이스에 추가 SQL 쿼리를 삽입하여 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
상점 관리자 권한을 가진 사용자가 데이터베이스를 조작할 수 있는 보안 약점이 발견되었습니다. 이를 통해 해커가 웹사이트의 중요한 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The WC Vendors – WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors plugin for WordPress is vulnerable to generic SQL Injection via the 'status' parameter in all versions up to, and including, 2.7.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with shop manager-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The sanitize_text_field callback strips HTML but leaves SQL metacharacters intact, and wp_magic_quotes slash protection does not apply because WP_REST_Server::serve_request() calls wp_unslash() on GET parameters before the sanitize callback executes.
📍 영향받는 시스템
WC Vendors – WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors plugin (버전 2.7.0 이하)
⚔️ 공격 벡터
인증된 상점 관리자 권한을 이용한 'status' 파라미터에 SQL 메타문자 삽입
🛡️ 대응 방법
WC Vendors 플러그인을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 WC Vendors 플러그인의 버전을 확인하여 2.7.0 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'wc-vendors'