🇰🇷 한글 설명
WordPress의 Super Forms – Drag & Drop Form Builder 플러그인에서 임의 파일 및 디렉터리 삭제 취약점이 발견되었습니다. 권한이 낮은 구독자(Subscriber) 계정으로도 적절한 권한 검사 및 입력값 검증 부재를 악용하여 서버의 중요한 파일이나 전체 WordPress 설치 디렉터리를 삭제할 수 있습니다.
💡 쉬운 설명
로그인한 일반 사용자가 웹사이트의 중요한 설정 파일이나 전체 데이터를 마음대로 삭제할 수 있는 위험한 결함입니다. 이 공격을 받으면 웹사이트가 완전히 중단되거나 운영에 심각한 차질이 생길 수 있습니다.
🇺🇸 원문 (English)
The Super Forms – Drag & Drop Form Builder plugin for WordPress is vulnerable to Arbitrary File/Directory Deletion in all versions up to, and including, 6.3.316. This is due to the `super_save_form` AJAX handler performing no capability check — allowing Subscriber-level authenticated users to create or modify Super Forms and enable the `file_upload_submission_delete` setting — combined with the `super_submit_form` handler's `submit_form` function passing the attacker-controlled `files[].subdir` value from `$_POST['data']` directly into `SUPER_Common::delete_dir()` without sanitization, and a trivially bypassed `ABSPATH` guard that a `subdir` value of `wp-config.php` defeats because `dirname(realpath(ABSPATH . $subdir))` resolves to the WordPress root while the naive `ABSPATH !== $dir` string check fails to match due to a trailing-slash mismatch. This makes it possible for authenticated attackers, with Subscriber-level access and above, to recursively delete arbitrary files and directories on the server, up to and including the entire WordPress installation, resulting in full site takedown and potential remote code execution if critical files such as `wp-config.php` are removed and the site is subsequently re-installed by another party.
📍 영향받는 시스템
Super Forms – Drag & Drop Form Builder plugin (버전 6.3.316 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 낮은 권한의 사용자가 AJAX 핸들러를 통해 조작된 파일 경로를 전송하여 서버 내 임의의 디렉터리를 삭제
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증 및 입력값 필터링이 적용된 보안 패치를 적용하십시오.
🔧 검증 코드
출력된 플러그인 버전이 6.3.316 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --allow-root | grep -E 'super-forms'