7.2
HIGH
CVE-2023-6449
WordPress Contact Form 7 File Upload 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.

INFO

Published Date :

Dec. 1, 2023, 11:15 a.m.

Last Modified :

Dec. 6, 2023, 8:56 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2023-6449 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rocklobster contact_form_7

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-6449 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-6449 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 06, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://contactform7.com/2023/11/30/contact-form-7-584/ No Types Assigned https://contactform7.com/2023/11/30/contact-form-7-584/ Release Notes
    Changed Reference Type https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 No Types Assigned https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 Patch
    Changed Reference Type https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 No Types Assigned https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 Product
    Changed Reference Type https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 No Types Assigned https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 Patch
    Changed Reference Type https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve No Types Assigned https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve Third Party Advisory
    Added CWE NIST CWE-434
    Added CPE Configuration OR *cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* versions up to (excluding) 5.8.4
  • CVE Received by [email protected]

    Dec. 01, 2023

    Action Type Old Value New Value
    Added 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.
    Added Reference Wordfence https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275 [No types assigned]
    Added Reference Wordfence https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4 [No types assigned]
    Added Reference Wordfence https://contactform7.com/2023/11/30/contact-form-7-584/ [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7 [No types assigned]
    Added CVSS V3.1 Wordfence AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-6449 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-6449 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} -0.75%

score

0.52493

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability