Skip to content

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

HighCVSS 7.2 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
WordPress

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
rocklobster contact form 7 < 5.8.4 5.8.4 Fixed
rocklobsterinc Contact Form 7 <= 5.8.3 after 5.8.3 Fixed
wordpress contact-form-7(WordPress) < 5.8.4 5.8.4 Fixed

Affected products

ProductAffected versionsFixed in
rocklobsterinc Contact Form 7 <= 5.8.3 No fix listed
wordpress contact-form-7(WordPress) < 5.8.4 5.8.4
rocklobster contact form 7 < 5.8.4 5.8.4

References