Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rocklobster | Contact Form 7 | < 5.8.4 |
Related Weaknesses (CWE)
References
- https://contactform7.com/2023/11/30/contact-form-7-584/Release Notes
- https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4Patch
- https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/foProduct
- https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46Third Party Advisory
- https://contactform7.com/2023/11/30/contact-form-7-584/Release Notes
- https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4Patch
- https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/foProduct
- https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46Third Party Advisory
FAQ
What is CVE-2023-6449?
CVE-2023-6449 is a vulnerability with a CVSS score of 6.6 (MEDIUM). 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_antiscri...
How severe is CVE-2023-6449?
CVE-2023-6449 has been rated MEDIUM with a CVSS base score of 6.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-6449?
Check the references section above for vendor advisories and patch information. Affected products include: Rocklobster Contact Form 7.