🇰🇷 한글 설명
WordPress용 Premium Packages – Sell Digital Products Securely 플러그인 6.2.0 이하 버전에서 SQL 인젝션 취약점이 발견되었습니다. POST /wp-json/wpdmpp/v1/cart/coupon REST API 엔드포인트의 'code' 파라미터에 대한 검증이 미흡하여 발생하며, 공격자가 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
웹사이트의 쿠폰 입력창에 특수한 명령어를 입력하여 데이터베이스를 조작할 수 있는 보안 결함입니다. 이를 통해 해커가 회원 정보나 비밀번호 같은 중요한 데이터를 몰래 빼낼 수 있습니다.
🇺🇸 원문 (English)
The Premium Packages – Sell Digital Products Securely plugin for WordPress is vulnerable to SQL Injection via the 'code' parameter of the POST /wp-json/wpdmpp/v1/cart/coupon REST API endpoint in versions up to, and including, 6.2.0. This is due to insufficient escaping on the user-supplied parameter, which is interpolated directly into a raw SQL query string in the CouponCodes::find() method without use of $wpdb->prepare() or esc_sql(). 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.
📍 영향받는 시스템
WordPress Premium Packages – Sell Digital Products Securely plugin (버전 6.2.0 이하)
⚔️ 공격 벡터
인증되지 않은 공격자가 REST API의 'code' 파라미터에 악성 SQL 쿼리를 삽입하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 해당 API 엔드포인트에 대한 접근 제어를 강화하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나고 버전이 6.2.0 이하이면 취약한 상태입니다.
wp-cli plugin list --allow-root | grep -E 'premium-packages|wpdmpp'