Sudan Payment Gateway for WooCommerce CVE-2024-50494
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconScan for vulnerable plugin path
-
DeliverySend crafted upload POST request
-
ExploitBypass missing file-type validation
-
InstallWeb shell written to uploads directory
-
C2Request shell via HTTP GET
-
ExecuteExecute commands as web server user
-
ImpactPivot to full WordPress takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of any WordPress site with the Sudan Payment Gateway for WooCommerce plugin (wc-sudan-payment-gateway) installed and active at version 1.2.2 or earlier. The CVSS vector PR:N/UI:N confirms no authentication and no user interaction is required, and AC:L confirms no special timing, race, or environmental prerequisites. The only limiting factor is the relatively narrow installed base of this regional WooCommerce extension, which constrains the target population but not the technical exploitability against any individual vulnerable instance. |
| Impact | All signals converge on critical priority: the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H rates this 10.0 - remote, low-complexity, unauthenticated, no user interaction, with high impact across confidentiality, integrity, and availability. The vulnerability is not currently listed in CISA KEV and no public exploit has been catalogued, but the EPSS score of 0.97% at the 77th percentile suggests above-average predicted exploitation probability for opportunistic scanning against WordPress plugins. The combination of trivial preconditions, web shell upload as the documented impact, and WordPress's large attack surface means real-world risk should be treated as high regardless of current KEV absence. Note the discrepancy: a 10.0 CVSS combined with relatively low EPSS (0.97%) is typical for niche regional plugins with smaller installation footprints - exploitation is technically easy but the target population is limited. |
| Exploit ScenarioDerived | An attacker performs opportunistic scanning for WordPress sites running the Sudan Payment Gateway plugin (detectable via /wp-content/plugins/wc-sudan-payment-gateway/ paths), then sends a crafted HTTP POST to the vulnerable upload endpoint containing a PHP web shell. With no authentication required and no file-type validation, the shell is written to a web-accessible directory and invoked via a follow-up GET request, yielding code execution as the web server user and full WordPress site takeover. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
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.
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when WordPress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity 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
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.
Executive ViewAI
Sudan Payment Gateway for WooCommerce plugin (versions 1.2.2 and earlier) enables unauthenticated remote attackers to upload arbitrary files and achieve complete server compromise, directly endangering payment processing security and customer data. The CVSS 10.0 critical vulnerability with no vendor patch represents an immediate and severe organizational risk requiring urgent action. Delayed mitigation creates exposure to payment fraud, regulatory penalties, and business disruption.
No vendor-released patch identified at time of analysis. Interim mitigations if plugin cannot be disabled: (1) Apply Web Application Firewall (WAF) rules to block file uploads to wp-admin and wp-content directories; (2) Remove execute permissions on /wp-content/uploads/ to prevent web shell execution; (3) Deploy file integrity monitoring on upload directories; (4) Isolate payment systems via network segmentation from sensitive internal networks; (5) Implement application-level file upload validation and strict file type verification.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
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
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
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 SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
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
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB