🇰🇷 한글 설명
SliceWP Affiliates 플러그인(WordPress)의 1.2.14 이하 버전에는 'email' 매개변수의 이스케이프와 SQL 쿼리 준비가 부족하여 SQL 인젝션 취약점이 존재합니다. 인증되지 않은 공격자가 WooCommerce 회원가입 과정을 통해 이 경로에 접근하여 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
쇼핑몰 회원가입 같은 일반적인 기능을 악용해 웹사이트 데이터베이스에 몰래 명령을 넣을 수 있는 보안 결함입니다. 로그인 없이도 고객 정보 등 민감한 데이터가 유출될 수 있습니다.
🇺🇸 원문 (English)
The Affiliate Program Suite — SliceWP Affiliates plugin for WordPress is vulnerable to generic SQL Injection via the 'email' parameter in all versions up to, and including, 1.2.14 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The injection is reachable without any account because the vulnerable code path is triggered via the user_register hook fired on every successful WooCommerce My Account registration, which requires only a guest-obtainable nonce.
📍 영향받는 시스템
WordPress용 SliceWP Affiliates 플러그인 1.2.14 이하 버전 (WooCommerce 연동 사이트)
⚔️ 공격 벡터
인증되지 않은 공격자가 WooCommerce 회원가입 시 email 매개변수에 조작된 SQL 구문을 삽입해 DB 정보를 추출
🛡️ 대응 방법
SliceWP Affiliates 플러그인을 1.2.14보다 최신 버전으로 즉시 업데이트
🔧 검증 코드
출력된 Version 값이 1.2.14 이하이면 취약한 버전이므로 업데이트가 필요하며, 결과가 없으면 해당 플러그인이 설치되어 있지 않은 것입니다.
grep -r "Version:" /var/www/html/wp-content/plugins/slicewp-affiliates/slicewp-affiliates.php 2>/dev/null