Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload
Summary
| CVE | CVE-2023-6449 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-12-01 11:15:08 UTC |
| Updated | 2026-04-08 18:18:36 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-434 | CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 6.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 6.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Rocklobster | Contact Form 7 | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Rocklobsterinc | Contact Form 7 | affected 5.8.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5a... | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | Third Party Advisory |
| contactform7.com/2023/11/30/contact-form-7-584 | af854a3a-2127-422b-91ae-364da2661108 | contactform7.com | Release Notes |
| plugins.trac.wordpress.org/changeset/3003556/contact-form-7 | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | Patch |
| github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | Product |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: István Márton (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-11-21T00:00:00.000Z | Discovered |
| CNA | 2023-11-21T00:00:00.000Z | Vendor Notified |
| CNA | 2023-11-30T00:00:00.000Z | Disclosed |
Legacy QID Mappings
- 150759 WordPress Contact Form 7 Plugin: Authenticated Arbitrary File Upload Vulnerability (CVE-2023-6449)