First published: Fri Dec 01 2023(Updated: )
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 'wpcf7_antiscript_file_name' 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.
Credit: security@wordfence.com
Affected Software | Affected Version | How to fix |
---|---|---|
Rocklobster Contact Form 7 | <5.8.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
CVE-2023-6449 allows attackers to upload arbitrary files through vulnerable versions of the Contact Form 7 plugin in WordPress.
The severity of CVE-2023-6449 is rated as high with a severity value of 7.2.
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.
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).