🇰🇷 한글 설명
Ultra Addons for Contact Form 7 WordPress 플러그인 3.5.51 미만 버전에서 파일 업로드 시 확장자 및 유형 검증이 누락되는 취약점이 발견되었습니다. 공격자는 이를 통해 임의의 파일을 업로드할 수 있으며, 서버 설정에 따라 원격 코드 실행(RCE) 또는 저장형 XSS 공격이 가능합니다.
💡 쉬운 설명
웹사이트의 문의 양식에 악성 파일을 몰래 올려서 서버를 해킹하거나 다른 사용자의 정보를 훔칠 수 있는 문제입니다. 파일의 종류를 제대로 확인하지 않아 발생하는 보안 허점입니다.
🇺🇸 원문 (English)
The Ultra Addons for Contact Form 7 WordPress plugin before 3.5.51 does not validate the type or extension of files uploaded through one of its form fields, and stores them at a predictable public path with the attacker-chosen extension intact, allowing unauthenticated users to upload arbitrary files. The PHP handler shipped by default with the Debian and Ubuntu Apache packages maps .phar to PHP alongside .php and .phtml, so on that stack the uploaded file is executed and the issue leads to Remote Code Execution and full site takeover. Where the host routes only .php to the PHP handler, the same file is instead served from the site's own origin with its script intact, leading to Stored Cross-Site Scripting.
📍 영향받는 시스템
Ultra Addons for Contact Form 7 WordPress plugin version < 3.5.51
⚔️ 공격 벡터
인증되지 않은 사용자가 파일 업로드 필드를 통해 악성 확장자(.phar, .php 등)를 가진 파일을 업로드하여 실행
🛡️ 대응 방법
Ultra Addons for Contact Form 7 플러그인을 최신 버전(3.5.51 이상)으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 3.5.51보다 낮은지 확인하십시오.
wp plugin list --all | grep -E 'ultra-addons-for-contact-form-7'