🇰🇷 한글 설명
WordPress용 Extensions For CF7 플러그인의 extcf7_submit 함수에서 임의 파일 업로드 취약점이 발견되었습니다. 파일 확장자, MIME 타입 및 크기 검증이 누락되었으며, 파일 이름 정제 과정의 우회로 인해 공격자가 실행 가능한 PHP 파일을 업로드하여 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
해커가 웹사이트에 몰래 악성 프로그램을 업로드하여 서버를 마음대로 조종할 수 있는 위험한 보안 구멍이 발견되었습니다. 인증되지 않은 외부 사용자도 이 기능을 이용해 서버를 공격할 수 있습니다.
🇺🇸 원문 (English)
The Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 3.4.5 via the extcf7_submit function. This is due to missing file extension, MIME type, and size validation in the signature field's validation_filter(), combined with the absence of PHP-execution guards in the upload directory and a sanitize_file_name() bypass that converts shell.php- into shell.php. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible.
📍 영향받는 시스템
WordPress Extensions For CF7 plugin (버전 3.4.5 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 signature 필드의 검증 미비점을 악용하여 실행 가능한 PHP 파일을 업로드함
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, 취약한 기능 사용을 중단하고 업로드 디렉토리에 PHP 실행 권한을 제거하십시오.
🔧 검증 코드
출력된 결과에서 extensions-for-cf7의 버전이 3.4.5 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'extensions-for-cf7'