🔍 CVE-2026-6453

6.5
CVSS Score
MEDIUM
2026-08-01
2026-08-12 21:00
✅ 완료

🇰🇷 한글 설명

WordPress용 CubeWP Framework 플러그인의 cubewp_remove_relation() AJAX 함수에서 SQL 인젝션 취약점이 발견되었습니다. wp_unslash() 함수가 입력값의 이스케이프 처리를 제거하여 $wpdb->prepare() 없이 SQL 쿼리에 직접 삽입되도록 허용하기 때문입니다. 이를 통해 인증된 공격자가 추가적인 SQL 쿼리를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트 플러그인의 보안 허점으로 인해 해커가 데이터베이스에 몰래 명령을 내릴 수 있는 상태입니다. 로그인 권한이 있는 사용자가 악의적인 코드를 입력하여 사이트의 정보를 빼내거나 조작할 수 있습니다.

🇺🇸 원문 (English)

The CubeWP Framework plugin for WordPress is vulnerable to SQL Injection in all versions up to and including 1.1.30. This is due to insufficient input sanitization in the cubewp_remove_relation() AJAX function, specifically the use of wp_unslash() on the relation_id parameter before interpolating it directly into a raw SQL query without using $wpdb->prepare(). The wp_unslash() call explicitly removes the backslash escaping that WordPress's wp_magic_quotes() adds to all $_POST data, neutralizing the only layer of SQL injection protection. The sanitize_text_field() function applied afterward offers no SQL protection. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries to the existing query.

📍 영향받는 시스템

CubeWP Framework plugin for WordPress (버전 1.1.30 이하 모든 버전)

⚔️ 공격 벡터

인증된 사용자(구독자 권한 이상)가 AJAX 요청을 통해 조작된 SQL 구문을 전달

🛡️ 대응 방법

CubeWP Framework 플러그인을 최신 버전으로 업데이트하거나, 코드 내에서 $wpdb->prepare()를 사용하여 쿼리를 안전하게 처리하도록 수정

🔧 검증 코드

출력된 결과에서 CubeWP 관련 플러그인의 버전이 1.1.30 이하인지 확인

Shell / Script
wp plugin list --allow-root | grep -E 'cubewp|cubewp-framework'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress