🇰🇷 한글 설명
WP Review Slider Pro 플러그인 12.6.8 이하 버전의 wpfb_find_reviews AJAX 액션에서 curselrevs[] 파라미터가 검증 없이 SQL 쿼리에 삽입되어 SQL 인젝션이 발생합니다. Subscriber 이상 권한을 가진 인증된 공격자가 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
웹사이트의 리뷰 기능에서 입력값을 제대로 검사하지 않아, 로그인한 일반 사용자가 데이터베이스 내부 정보를 몰래 꺼낼 수 있는 문제입니다. 플러그인을 최신 버전으로 업데이트해야 합니다.
🇺🇸 원문 (English)
The WP Review Slider Pro plugin for WordPress is vulnerable to SQL Injection via the 'curselrevs[]' parameter of the wpfb_find_reviews AJAX action in versions up to, and including, 12.6.8. This is due to the handler reading $_POST['curselrevs'] raw with no sanitization or type casting, then concatenating each array element directly into a `WHERE id IN ( ... )` clause without quoting and executing via $wpdb->get_results() without $wpdb->prepare(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
WordPress WP Review Slider Pro 플러그인 12.6.8 이하 버전
⚔️ 공격 벡터
Subscriber 이상 권한의 인증된 사용자가 curselrevs[] 파라미터에 SQL 구문을 추가하여 wpfb_find_reviews AJAX 요청을 전송
🛡️ 대응 방법
WP Review Slider Pro 플러그인을 12.6.9 이상 버전으로 업데이트하고, 입력값 검증 및 $wpdb->prepare() 사용 여부를 확인
🔧 검증 코드
출력된 버전이 12.6.8 이하이면 취약하며 업데이트가 필요하고, 12.6.9 이상이면 패치된 상태입니다.
wp plugin list --name=wp-review-slider-pro --fields=name,version 2>/dev/null || grep -r "Version:" wp-content/plugins/wp-review-slider-pro/*.php 2>/dev/null | head -1