Skip to main content

Digital Lottery CVE-2024-49242

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

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 29, 2026 - 10:22 NVD
10.0 (CRITICAL)
CVE Published
Oct 16, 2024 - 14:15 nvd
N/A

DescriptionCVE.org

Unrestricted Upload of File with Dangerous Type vulnerability in Shafiq Digital Lottery digital-lottery allows Upload a Web Shell to a Web Server.This issue affects Digital Lottery: from n/a through <= 3.0.5.

AnalysisAI

Unrestricted file upload in the Shafiq Digital Lottery WordPress plugin (versions up to and including 3.0.5) allows remote unauthenticated attackers to upload web shells and achieve full server compromise. The CVSS 10.0 score with scope-change reflects that successful exploitation extends impact beyond the plugin to the entire hosting environment, and no public exploit identified at time of analysis though Patchstack disclosure typically accompanies plugin-level POCs.

Technical ContextAI

Digital Lottery is a WordPress plugin by Shafiq Digital used to run lottery-style functionality on WordPress sites. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type), where the plugin's file upload handler fails to validate file extensions, MIME types, or content against an allowlist, permitting attackers to submit executable PHP files (web shells) into a web-accessible directory. Once uploaded, the PHP interpreter executes the shell on subsequent HTTP requests, granting attacker-controlled code execution under the web server user context.

Affected ProductsAI

Shafiq Digital Lottery WordPress plugin, all versions from unspecified initial release through and including 3.0.5. The Patchstack advisory (audit@patchstack.com is the reporting source) is the authoritative reference; consult patchstack.com/database for the specific advisory. No CPE string was provided in the input data, and no upper-bound fixed version is identified in the available intelligence.

RemediationAI

No vendor-released patch identified at time of analysis - the affected range extends through the latest known version 3.0.5 with no fixed version cited. Site administrators should immediately deactivate and remove the Digital Lottery plugin until Shafiq Digital publishes a patched release, then monitor the Patchstack advisory database for fix availability. As compensating controls, restrict access to the plugin's upload endpoints via web server rules (e.g., .htaccess deny rules on the plugin's upload handler URL), disable PHP execution in WordPress uploads directories using a PHP handler block in nginx/Apache config (side effect: may break legitimate plugins that rely on dynamic content in uploads), and deploy a WAF rule blocking multipart POSTs containing PHP file extensions to the plugin's endpoints. Audit the wp-content/uploads directory for suspicious .php, .phtml, or .phar files indicating prior compromise.

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-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-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-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

Share

CVE-2024-49242 vulnerability details – vuln.today

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