🇰🇷 한글 설명
Piotnet Addons for Elementor Pro 플러그인의 'pafe_ajax_form_builder' 함수에서 파일 타입 검증이 부족하여, php, phpt, php5, php7, exe만 차단하고 .phar, .phtml 등 위험한 확장자는 허용됩니다. 미인증 공격자가 임의의 파일을 업로드하여 원격 코드 실행을 초래할 수 있으며, 폼에 파일 필드가 있을 때만 악용 가능합니다.
💡 쉬운 설명
WordPress의 Piotnet 플러그인에서 위험한 파일을 업로드할 수 있는 보안 구멍이 있습니다. 공격자가 악성 파일을 서버에 올려 웹사이트를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
The Piotnet Addons for Elementor Pro plugin for WordPress is vulnerable to arbitrary file upload due to missing file type validation in the 'pafe_ajax_form_builder' function in all versions up to, and including, 7.1.70. The plugin uses an incomplete extension blacklist that only blocks php, phpt, php5, php7, and exe extensions, while allowing dangerous extensions such as .phar or .phtml to be uploaded. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Note: The exploit can only be exploited if a file field is added to the form.
📍 영향받는 시스템
Piotnet Addons for Elementor Pro 버전 7.1.70 이하
⚔️ 공격 벡터
파일 업로드 폼에서 .phar, .phtml 등 차단되지 않은 확장자로 악성 스크립트 업로드
🛡️ 대응 방법
플러그인을 최신 버전으로 즉시 업데이트하거나 불필요한 파일 업로드 기능 비활성화
🔧 검증 코드
플러그인 디렉토리 조회 결과에서 piotnet 폴더가 존재하고 버전이 7.1.70 이하이면 취약함
find /var/www -type d -name 'piotnet*' -o -path '*elementor*piotnet*' 2>/dev/null | xargs ls -la 2>/dev/null | grep -i 'version\|piotnet'