🇰🇷 한글 설명
WordPress용 Slider Hero 플러그인 9.1.7 이하 버전에서 2차 SQL 인젝션 취약점이 발견되었습니다. qcld_sliderhero_duplicate() 함수가 슬라이드 데이터를 처리할 때 적절한 이스케이프 처리 없이 SQL 쿼리를 생성하여, 관리자 권한을 가진 공격자가 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
슬라이드 정보를 복사하는 과정에서 보안 검사를 거치지 않은 데이터를 그대로 데이터베이스 명령어로 사용합니다. 이를 통해 관리자 권한을 가진 사용자가 데이터베이스에 숨겨진 정보를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The Slider Hero plugin for WordPress is vulnerable to second-order SQL Injection in versions up to, and including, 9.1.7 via the qcld_sliderhero_duplicate() function. Slide data (description, title, btn, btn2, image_link, custom, etc.) is stored safely via $wpdb->update() with %s placeholders in the qchero_save_image AJAX handler, but when an administrator triggers the 'heroduplicateslider' task, qcld_sliderhero_duplicate() re-reads every slide column and concatenates the raw values directly into an INSERT VALUES tuple that is then executed with $wpdb->query() — with no $wpdb->prepare(), esc_sql(), or _real_escape_string in between. This makes it possible for authenticated attackers, with administrator-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 Slider Hero plugin versions up to and including 9.1.7
⚔️ 공격 벡터
인증된 관리자 권한을 이용한 2차 SQL 인젝션 (Second-order SQL Injection)
🛡️ 대응 방법
Slider Hero 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 slider-hero 플러그인의 버전이 9.1.7 이하인지 확인하십시오.
wp plugin list --name slider-hero --format=csv | grep -E 'slider-hero'