Sudan Payment Gateway for WooCommerce CVE-2024-50494
CRITICALSeverity by source
AV:N/AC:L/PR:N/UI:N/S:C/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:C/C:H/I:H/A:H
Lifecycle Timeline
2DescriptionCVE.org
Unrestricted Upload of File with Dangerous Type vulnerability in Amin Omer Sudan Payment Gateway for WooCommerce wc-sudan-payment-gateway allows Upload a Web Shell to a Web Server.This issue affects Sudan Payment Gateway for WooCommerce: from n/a through <= 1.2.2.
AnalysisAI
Unrestricted file upload in the Sudan Payment Gateway for WooCommerce WordPress plugin (versions up to and including 1.2.2) allows remote unauthenticated attackers to upload arbitrary files, including web shells, to the underlying web server. With a CVSS 10.0 score reflecting network attack vector, no privileges, and changed scope, exploitation yields full server compromise; no public exploit identified at time of analysis, though EPSS places it at the 77th percentile indicating moderate predicted exploitation likelihood.
Technical ContextAI
The flaw is a classic CWE-434 (Unrestricted Upload of File with Dangerous Type) affecting the wc-sudan-payment-gateway plugin, a WooCommerce extension for processing Sudanese payment methods on WordPress sites. The plugin exposes a file upload handler that fails to validate file type, extension, or content before persisting uploads to a web-accessible location. Because WordPress executes PHP from many directories by default, an attacker can upload a PHP web shell and request it directly, gaining arbitrary code execution in the context of the web server user. The CVSS scope change (S:C) reflects that compromise of the plugin can pivot into the broader WordPress installation and potentially the underlying host.
Affected ProductsAI
The Sudan Payment Gateway for WooCommerce plugin (slug wc-sudan-payment-gateway) by Amin Omer Sudan, affecting all versions from initial release through and including 1.2.2 on WordPress sites running WooCommerce. No CPE strings were provided in the input data, and the vendor advisory was issued by Patchstack (audit@patchstack.com) as the reporting researcher organization.
RemediationAI
No vendor-released patched version is identified in the available data; the description states the issue affects versions through 1.2.2 with no fixed version specified, so administrators should immediately deactivate and remove the wc-sudan-payment-gateway plugin until a vendor fix is published and monitor the Patchstack advisory database for an update. As compensating controls, restrict access to the plugin's upload endpoints via web server rules (deny direct requests to plugin upload handlers), disable PHP execution within wp-content/uploads via .htaccess or nginx location blocks (side effect: breaks any legitimate plugin that relies on executing PHP from uploads), and deploy a WordPress-aware WAF with rules blocking unauthenticated file uploads to plugin endpoints. Audit the wp-content/uploads directory and plugin directories for unexpected PHP, phtml, or polyglot files indicating prior compromise.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today