🔍 CVE-2026-5364

8.1
CVSS Score
HIGH
2026-04-24
2026-04-24 14:38
✅ 완료

🇰🇷 한글 설명

Contact Form 7 플러그인의 파일 업로드 기능에서 파일 확장자 검증이 정상화 전에 수행되어, 공격자가 특수문자를 이용해 PHP 파일을 업로드할 수 있는 취약점입니다. .htaccess 제한과 파일명 랜덤화가 있어 실제 악용은 제한되지만 원격 코드 실행 위험이 있습니다.

💡 쉬운 설명

Contact Form 7 플러그인에서 미인증 사용자가 파일을 업로드할 때 보안 검사를 우회해 악의적인 PHP 파일을 올릴 수 있습니다. 서버 보호 설정이 있어 실제 피해는 줄어들지만, 공격 가능성이 높으므로 즉시 업데이트해야 합니다.

🇺🇸 원문 (English)

The Drag and Drop File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file upload in versions up to, and including, 1.1.3. This is due to the plugin extracting the file extension before sanitization occurs and allowing the file type parameter to be controlled by the attacker rather than being restricted to administrator-configured values, which when combined with the fact that validation occurs on the unsanitized extension while the file is saved with a sanitized extension, allows special characters like '$' to be stripped during the save process. This makes it possible for unauthenticated attackers to upload arbitrary PHP files and potentially achieve remote code execution, however, an .htaccess file and name randomization is in place which restricts real-world exploitability.

📍 영향받는 시스템

Contact Form 7 버전 1.1.3 이하 (WordPress 플러그인)

⚔️ 공격 벡터

미인증 공격자가 파일 업로드 폼에서 특수문자를 포함한 확장자를 조작하여 PHP 파일 업로드

🛡️ 대응 방법

Contact Form 7을 최신 버전(1.1.4 이상)으로 업데이트. 또는 플러그인 비활성화

🔧 검증 코드

버전이 1.1.3 이하이면 즉시 업데이트 필요. 버전 1.1.4 이상이거나 플러그인이 없으면 안전

Shell / Script
grep -i 'Version:' /var/www/html/wp-content/plugins/contact-form-7/contact-form-7.php 2>/dev/null || wp plugin get contact-form-7 --field=version 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP