CVE-2023-6449

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 08:43

Type Values Removed Values Added
References () https://contactform7.com/2023/11/30/contact-form-7-584/ - Release Notes () https://contactform7.com/2023/11/30/contact-form-7-584/ - Release Notes
References () https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 - Patch () https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 - Patch
References () https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 - Product () https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 - Product
References () https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 - Patch () https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 - Patch
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve - Third Party Advisory () https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve - Third Party Advisory
CVSS v2 : unknown
v3 : 7.2
v2 : unknown
v3 : 6.6

06 Dec 2023, 20:56

Type Values Removed Values Added
References () https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 - () https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 - Patch
References () https://contactform7.com/2023/11/30/contact-form-7-584/ - () https://contactform7.com/2023/11/30/contact-form-7-584/ - Release Notes
References () https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 - () https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 - Patch
References () https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 - () https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 - Product
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve - Third Party Advisory
CPE cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*
CWE CWE-434
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2

01 Dec 2023, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-12-01 11:15

Updated : 2024-11-21 08:43


NVD link : CVE-2023-6449

Mitre link : CVE-2023-6449

CVE.ORG link : CVE-2023-6449


JSON object : View

Products Affected

rocklobster

  • contact_form_7
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type