### [CVE-2021-24155](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24155) ![](https://img.shields.io/static/v1?label=Product&message=WordPress%20Backup%20and%20Migrate%20Plugin%20%E2%80%93%20Backup%20Guard&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.6.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-434%20Unrestricted%20Upload%20of%20File%20with%20Dangerous%20Type&color=brightgreen) ### Description The WordPress Backup and Migrate Plugin – Backup Guard WordPress plugin before 1.6.0 did not ensure that the imported files are of the SGBP format and extension, allowing high privilege users (admin+) to upload arbitrary files, including PHP ones, leading to RCE. ### POC #### Reference - http://packetstormsecurity.com/files/163382/WordPress-Backup-Guard-1.5.8-Shell-Upload.html - http://packetstormsecurity.com/files/163623/WordPress-Backup-Guard-Authenticated-Remote-Code-Execution.html - https://wpscan.com/vulnerability/d442acac-4394-45e4-b6bb-adf4a40960fb #### Github - https://github.com/0dayNinja/CVE-2021-24155.rb - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/Hacker5preme/Exploits - https://github.com/k0mi-tg/CVE-POC - https://github.com/manas3c/CVE-POC - https://github.com/n0-traces/cve_monitor - https://github.com/nomi-sec/PoC-in-GitHub - https://github.com/whoforget/CVE-POC - https://github.com/youwizard/CVE-POC