CVE-2024-3214

Relevanssi – A Better Search <= 4.22.1 - Unauthenticated Second Order CSV Injection

Strategic Overview

Status
Patched in 4.22.2
Affected Version
<= 4.22.1
CVSS
5.8Medium
Weakness type
CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
CVE
CVE-2024-3214
View all Relevanssi – A Better Search vulnerabilities

At a glance

CVE-2024-3214 is a medium-severity Improper Neutralization of Formula Elements in a CSV File vulnerability in the Relevanssi WordPress plugin, affecting versions <= 4.22.1. It carries a CVSS score of 5.8 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 4.22.2; sites on affected versions should update now. Disclosed April 2024, reported by Thura Moe Myint (mgthuramoemyint).

Vulnerability Overview

The Relevanssi – A Better Search plugin for WordPress is vulnerable to CSV Injection in all versions up to, and including, 4.22.1. This makes it possible for unauthenticated attackers to embed untrusted input into 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 privileges on the target site, and no interaction from a victim user.

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 4.22.2, or a newer patched version

How WordSec helps

Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Relevanssi 4.22.2 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Login Security
  • Alerts

External References

Related records

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