🔍 CVE-2026-6251

6.5
CVSS Score
MEDIUM
2026-07-28
2026-07-28 16:07
✅ 완료

🇰🇷 한글 설명

WordPress용 Chaty Pro 플러그인 3.5.5 이하 버전에서 인증된 사용자를 대상으로 하는 시간 기반 Blind SQL 인젝션 취약점이 발견되었습니다. admin/class-admin-base.php의 fetch_custom_field() 함수가 widget_id 파라미터를 적절한 검증이나 준비된 문(prepared statement) 없이 SQL 쿼리에 직접 결합하여 발생합니다. 이로 인해 구독자 권한 이상의 공격자가 데이터베이스의 민감한 정보를 추출할 수 있습니다.

💡 쉬운 설명

로그인 권한이 있는 사용자가 웹사이트의 데이터베이스에 몰래 명령어를 입력하여 정보를 빼낼 수 있는 보안 약점입니다. 보안 검사가 실행되기 전에 데이터베이스 명령이 먼저 처리되는 구조적 결함이 원인입니다.

🇺🇸 원문 (English)

The Chaty Pro plugin for WordPress is vulnerable to Authenticated Time-Based Blind SQL Injection in versions up to and including 3.5.5. This is due to the fetch_custom_field() function in admin/class-admin-base.php retrieving the widget_id POST parameter via filter_input(INPUT_POST, ...) and directly concatenating the value into a raw SQL query in a numeric context without using $wpdb->prepare() or any integer casting. Additionally, the nonce verification check is performed after the SQL query has already executed, providing no protection against the injection. This makes it possible for authenticated attackers with subscriber-level access and above to inject arbitrary SQL commands, potentially leading to unauthorized extraction of sensitive database contents including user credentials and configuration data.

📍 영향받는 시스템

Chaty Pro plugin for WordPress (version 3.5.5 and below)

⚔️ 공격 벡터

인증된 사용자(Subscriber 이상)가 POST 요청의 widget_id 파라미터에 조작된 SQL 구문을 삽입하여 공격

🛡️ 대응 방법

Chaty Pro 플러그인을 최신 버전으로 업데이트하거나, $wpdb->prepare()를 사용하여 쿼리를 안전하게 수정해야 합니다.

🔧 검증 코드

출력 결과에 Chaty Pro 플러그인이 포함되어 있고 버전이 3.5.5 이하인지 확인합니다.

Shell / Script
wp plugin list --status=active | grep -i 'chaty-pro'

📊 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