CVE-2023-6449: Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload
The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function and insufficient blocklisting on the 'wpcf7antiscriptfilename' function in versions up to, and including, 5.8.3. This makes it possible for authenticated attackers with editor-level capabilities or above to upload arbitrary files on the affected site's server, but due to the htaccess configuration, remote code cannot be executed in most cases. By default, the file will be deleted from the server immediately. However, in some cases, other plugins may make it possible for the file to live on the server longer. This can make remote code execution possible when combined with another vulnerability, such as local file inclusion.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-6449?
CVE-2023-6449 is a vulnerability in the Contact Form 7 plugin for WordPress that allows for arbitrary file uploads due to insufficient file type validation.
How does CVE-2023-6449 impact WordPress?
CVE-2023-6449 allows attackers to upload arbitrary files through vulnerable versions of the Contact Form 7 plugin in WordPress.
What is the severity of CVE-2023-6449?
The severity of CVE-2023-6449 is rated as high with a severity value of 7.2.
How can I fix CVE-2023-6449?
To fix CVE-2023-6449, it is recommended to update the Contact Form 7 plugin to version 5.8.4 or newer, which contains the necessary fixes.
Where can I find more information about CVE-2023-6449?
You can find more information about CVE-2023-6449 in the references provided: [Reference 1](https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve), [Reference 2](https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275), [Reference 3](https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4).