Vulnerability Details : 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.
Vulnerability category: File inclusionExecute code
Products affected by CVE-2023-6449
- cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-6449
0.23%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-6449
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST | |
6.6
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
0.7
|
5.9
|
Wordfence |
CWE ids for CVE-2023-6449
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-6449
-
https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7
Changeset 3003556 for contact-form-7 – WordPress Plugin RepositoryPatch
-
https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275
429 Too Many RequestsProduct
-
https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4
Comparing v5.8.3...v5.8.4 · rocklobster-in/contact-form-7 · GitHubPatch
-
https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve
Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File UploadThird Party Advisory
-
https://contactform7.com/2023/11/30/contact-form-7-584/
Contact Form 7 5.8.4 | Contact Form 7Release Notes
Jump to