Skip to main content

Sudan Payment Gateway for WooCommerce CVE-2024-50494

CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2024-10-29 audit@patchstack.com
10.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Scan for vulnerable plugin path
  2. Delivery
    Send crafted upload POST request
  3. Exploit
    Bypass missing file-type validation
  4. Install
    Web shell written to uploads directory
  5. C2
    Request shell via HTTP GET
  6. Execute
    Execute commands as web server user
  7. Impact
    Pivot 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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.

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

NVD PRIMARY 10.0 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 15:22 NVD
10.0 (CRITICAL)
CVE Published
Oct 29, 2024 - 08:15 nvd
N/A

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
1.0%
Top 23% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

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

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