Skip to main content

WordPress CVE-2024-8425

CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-02-28 security@wordfence.com
9.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Mar 28, 2026 - 18:29 vuln.today
CVE Published
Feb 28, 2025 - 09:15 nvd
CRITICAL 9.8

DescriptionCVE.org

The WooCommerce Ultimate Gift Card plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'mwb_wgm_preview_mail' and 'mwb_wgm_woocommerce_add_cart_item_data' functions in all versions up to, and including, 2.6.0. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

AnalysisAI

The WooCommerce Ultimate Gift Card plugin through version 2.6.0 contains unauthenticated arbitrary file uploads in the mail preview and cart functions. Insufficient file type validation allows attackers to upload PHP webshells through the gift card functionality, achieving remote code execution on e-commerce sites.

Technical ContextAI

The mwb_wgm_preview_mail and mwb_wgm_woocommerce_add_cart_item_data functions process file uploads for gift card customization without proper file type validation. An unauthenticated attacker can upload PHP files through these endpoints, which are stored in web-accessible directories. The uploaded PHP can be executed directly via HTTP.

RemediationAI

Update to a version beyond 2.6.0. Restrict uploaded file types to images only. Configure the web server to block PHP execution in upload directories. Scan upload directories for PHP files.

Share

CVE-2024-8425 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy