WordPress security changelog
HIGH CVE-2024-5431 Modified

WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce: Filesystem traversal

WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce is affected by filesystem traversal. Exploitation requires at least contributor-level access. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 8.8 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce
Plugin slug
wp-cafe
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jun 25, 2024
Weakness
CWE-98 — Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
NVD-CWE-Other

This CVE was published Jun 25, 2024 and is one of 10 known issues for this plugin.

Update, patch or deactivate.

Update WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.2.25 via the reservation_extra_field shortcode parameter. This makes it possible for authenticated attackers, with Contributor-level access and above, to include remote files on the server, potentially resulting in code execution

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources