CVE-2024-8425CWE-434

WooCommerce Ultimate Gift Card <= 2.9.2 - Unauthenticated Arbitrary File Upload

Critical · published February 28, 2025

CVSS v3.1
9.8
EPSS
4%
Percentile
90.7
In the wild
Unconfirmed
What it is

🚨 A sneaky gap in the WooCommerce Ultimate Gift Card plugin lets anyone upload files without authentication! 🔥 Think of it like a restaurant where the waiter forgets to check the ID of customers bringing in takeout — anyone could slip in a surprise dish that no one ordered. Without proper validation, attackers can upload malicious files to your server, with potential consequences! This vulnerability is absolutely devastating: unauthenticated attackers could upload harmful files straight to your site, possibly leading to remote code execution. Imagine an intruder taking control of your restaurant's kitchen and serving whatever they want! Your sensitive data could be at risk, and the integrity of your entire site is on the line.

Put simply

Think of it like a restaurant where the waiter forgets to check the ID of customers bringing in takeout — anyone could slip in a surprise dish that no one ordered. Without proper validation, attackers can upload malicious files to your server, with potential consequences! The WooCommerce Ultimate Gift Card plugin is vulnerable to arbitrary file uploads due to insufficient validation in the 'mwb_wgm_preview_mail' and 'mwb_wgm_woocommerce_add_cart_item_data' functions. This allows attackers to potentially execute arbitrary code by uploading malicious files.

What to do

This vulnerability is absolutely devastating: unauthenticated attackers could upload harmful files straight to your site, possibly leading to remote code execution. Imagine an intruder taking control of your restaurant's kitchen and serving whatever they want! Your sensitive data could be at risk, and the integrity of your entire site is on the line. To protect yourself, update your WooCommerce Ultimate Gift Card plugin to version 2.9.3 or later immediately. Review your file upload configurations and consider implementing stricter validation rules to block unauthorized file types. Always keep your plugins updated to mitigate future vulnerabilities! You've got this! Follow these steps, and you'll bolster your site’s defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04082 · 90.7th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-02-28T08:23Z
EPSS history
Timeline
  • 28 FEB 08:23Z
    WooCommerce Ultimate Gift Card <= 2.9.2 - Unauthenticated Arbitrary File Upload
    cvelistv5