.. / CVE-2023-4596

Exploit for WordPress Plugin Forminator 1.24.6 - Arbitrary File Upload (CVE-2023-4596)

Description:

The Forminator plugin for WordPress is vulnerable to arbitrary file uploads due to file type validation occurring after a file has been uploaded to the server in the upload_post_image() function in versions up to, and including, 1.24.6. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site’s server which may make remote code execution possible.

Nuclei Template

View the template here CVE-2023-4596.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-4596.yaml
Copy

References:

https://plugins.trac.wordpress.org/changeset/2954409/forminator/trunk/library/fields/postdata.php
https://github.com/E1A/CVE-2023-4596
https://nvd.nist.gov/vuln/detail/CVE-2023-4596
https://www.exploit-db.com/exploits/51664
https://www.wordfence.com/threat-intel/vulnerabilities/id/9cd87da6-1f4c-4a15-8ebb-6e0f8ef72513?source=cve