### [CVE-2016-15042](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-15042) ![](https://img.shields.io/static/v1?label=Product&message=Frontend%20File%20Manager%20Plugin&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=N-Media%20Post%20Front-end%20Form&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=*%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=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 Frontend File Manager (versions < 4.0), N-Media Post Front-end Form (versions < 1.1) plugins for WordPress are vulnerable to arbitrary file uploads due to missing file type validation via the `nm_filemanager_upload_file` and `nm_postfront_upload_file` AJAX actions. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected sites server which may make remote code execution possible. ### POC #### Reference - https://www.pluginvulnerabilities.com/2016/09/19/arbitrary-file-upload-vulnerability-in-front-end-file-upload-and-manager-plugin/ - https://www.pluginvulnerabilities.com/2016/09/19/arbitrary-file-upload-vulnerability-in-n-media-post-front-end-form/ #### Github - https://github.com/20142995/nuclei-templates - https://github.com/ARPSyndicate/cve-scores - https://github.com/Aditya43621/lab-cve-2016-15042 - https://github.com/ImBIOS/lab-cve-2016-15042 - https://github.com/PuddinCat/GithubRepoSpider - https://github.com/cyb3r-w0lf/nuclei-template-collection