Arbitrary file upload in Rocklobster Contact Form 7
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 class: Unrestricted File Upload
EPSS: 0.017 (75.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@wordfence.com (Third Party Advisory)
- security@wordfence.com (Product)
- security@wordfence.com (Patch)
- security@wordfence.com (Release Notes)
- security@wordfence.com (Patch)
Frequently asked questions
- What is CVE-2023-6449?
- CVE-2023-6449 is a medium-severity vulnerability in Rocklobster Contact Form 7, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 6.6/10. Published 2023-12-01.
- How severe is CVE-2023-6449?
- Medium severity. CVSS v3 base score is 6.6 out of 10.
- Is CVE-2023-6449 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.