Vulnerability · Published Dec 1, 2023 · Assigned by Wordfence

CVE-2023-6449Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload

Medium 6.6

In plain English

A medium-severity unrestricted file upload in Contact Form 7 from rocklobsterinc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities).

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)1.8%top 22.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
rocklobsterinc Contact Form 7 0 – through 5.8.3

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References