🔍 CVE-2026-6455

8.1
CVSS Score
HIGH
2026-05-28
2026-05-28 13:45
✅ 완료

🇰🇷 한글 설명

WP Contact Form 7 DB Handler 플러그인 3.0 이하 버전이 nonce 검증 누락으로 인한 CSRF와 SQL Injection에 취약합니다. 공격자는 UNION 기반 SQL Injection을 통해 악의적인 직렬화 PHP 배열을 삽입하고, 역직렬화 과정에서 경로 검증 없이 임의 파일을 삭제할 수 있습니다.

💡 쉬운 설명

WordPress의 특정 플러그인이 관리자를 속여 서버의 중요한 파일을 삭제하도록 하는 취약점입니다. 적절한 보안 검증 누락으로 인해 공격이 가능합니다.

🇺🇸 원문 (English)

The WP Contact Form 7 DB Handler plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Arbitrary File Deletion via SQL Injection and PHP Object Injection in versions up to and including 3.0. This is due to a missing nonce verification in the process_bulk_action() function, the nonce check is only executed when _wpnonce is present in the POST body, allowing it to be trivially bypassed by omitting the field, combined with the use of an unsanitized, unparameterized user-supplied value in a numeric SQL context (WHERE ID = $ID) and the unsafe deserialization of the query result's post_content field. An attacker can craft a CSRF page that tricks a logged-in administrator into triggering a UNION-based SQL injection payload (using CHAR() to avoid esc_sql quote-escaping) that returns a malicious serialized PHP array as post_content; upon deserialization, array values associated with keys containing 'ys_cfdbh_file' are used as file paths appended to the uploads directory path without any path traversal validation, and then passed to wp_delete_file(), allowing the attacker to delete arbitrary files on the server (e.g., wp-config.php, system files).

📍 영향받는 시스템

WP Contact Form 7 DB Handler plugin version ≤ 3.0

⚔️ 공격 벡터

CSRF 페이지로 관리자 유도 → UNION 기반 SQL Injection으로 악의적 직렬화 배열 삽입 → 역직렬화 시 wp_delete_file()를 통한 임의 파일 삭제

🛡️ 대응 방법

플러그인을 3.0 초과 버전으로 업그레이드하고 nonce 검증 및 SQL 입력 검증 활성화

🔧 검증 코드

플러그인 버전이 3.0 초과인지 확인; 3.0 이하면 업그레이드 필요

Shell / Script
grep -r 'Version:' wp-content/plugins/wp-contact-form-7-db-handler/readme.txt 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP