🔍 CVE-2026-17589

4.9
CVSS Score
MEDIUM
2026-09-01
2026-09-01 20:47
✅ 완료

🇰🇷 한글 설명

WordPress의 Shopping Cart & eCommerce Store 플러그인 5.9.2 이하 버전에서 'product_order' 파라미터를 통한 SQL 인젝션 취약점이 발견되었습니다. 공격자가 관리자 권한을 이용해 악성 페이로드를 데이터베이스에 저장하면, 이후 페이지 렌더링 시 해당 데이터가 검증 없이 SQL 쿼리에 포함되어 민감한 정보가 유출될 수 있는 2차 SQL 인젝션 취약점입니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 몰래 악성 코드를 데이터베이스에 저장해 두었다가, 나중에 웹사이트가 실행될 때 그 코드가 작동하여 정보를 빼가는 방식입니다. 데이터베이스에 저장된 값이 제대로 검사되지 않고 그대로 실행되기 때문에 발생합니다.

🇺🇸 원문 (English)

The Shopping Cart & eCommerce Store plugin for WordPress is vulnerable to generic SQL Injection via the 'product_order' parameter in all versions up to, and including, 5.9.2 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 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. This is a second-order SQL injection: the payload is written to the ec_pageoption table via the ec_ajax_save_page_options handler — which applies no sanitization to raw $_POST values — and is later retrieved with stripslashes() (bypassing WordPress magic-quotes protection) before being concatenated directly into SQL on every store page render.

📍 영향받는 시스템

Shopping Cart & eCommerce Store plugin for WordPress (v5.9.2 및 그 이하 모든 버전)

⚔️ 공격 벡터

인증된 관리자 권한을 이용한 2차 SQL 인젝션 (Second-order SQL Injection)

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 적절한 이스케이프 처리 및 Prepared Statement를 사용하도록 코드를 수정해야 합니다.

🔧 검증 코드

명령어 결과에 해당 플러그인 이름과 5.9.2 이하의 버전 번호가 나타나면 취약한 상태입니다.

Shell / Script
wp plugin list --name='shopping-cart-ecommerce-store' --format=csv | grep -E '5\[0-9]\.[0-9]{1,2}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

WordPress