CVE-2022-3604

Contact Form Entries <= 1.2.9 - CSV Injection

2022-10-21 00:00
Francesco Carlucci

Strategic Overview

Status
Patched in 1.3.0
Affected Version
<= 1.2.9
CVSS
7.2High
Weakness type
CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
CVE
CVE-2022-3604
View all Database for Contact Form 7, WPforms, Elementor forms vulnerabilities

At a glance

CVE-2022-3604 is a high-severity Improper Neutralization of Formula Elements in a CSV File vulnerability in the Database for Contact Form 7, WPforms, Elementor forms WordPress plugin, affecting versions <= 1.2.9. It carries a CVSS score of 7.2 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). The issue is fixed in version 1.3.0; sites on affected versions should update now. Disclosed October 2022, reported by Francesco Carlucci.

Vulnerability Overview

The Contact Form Entries plugin for WordPress is vulnerable to CSV Injection in versions up to, and including, 1.2.9 when outputting to a CSV file. This allows low-level attackers to embed untrusted input contact forms that will be present in exported CSV files, which can result in code execution when these files are downloaded and opened on a local system with a vulnerable configuration.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-1236: Improper Neutralization of Formula Elements in a CSV File

The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.

Remediation

Update to version 1.3.0, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to Database for Contact Form 7, WPforms, Elementor forms: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Database for Contact Form 7, WPforms, Elementor forms 1.3.0 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C