ajax-extend CVE-2024-49254
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
Lifecycle Timeline
2DescriptionCVE.org
Improper Control of Generation of Code ('Code Injection') vulnerability in sunjianle ajax-extend ajax-extend allows Code Injection.This issue affects ajax-extend: from n/a through <= 1.0.
AnalysisAI
Unauthenticated remote code execution in the sunjianle ajax-extend WordPress plugin (versions up to and including 1.0) allows attackers to inject and execute arbitrary code on the underlying server with a changed security scope. CVSS 10.0 reflects network-reachable, no-privilege, no-interaction exploitation with full confidentiality, integrity, and availability impact, though no public exploit identified at time of analysis and EPSS sits at a modest 0.70%.
Technical ContextAI
ajax-extend is a WordPress plugin authored by sunjianke that extends AJAX functionality within WordPress sites. The flaw is classified as CWE-94 (Improper Control of Generation of Code, i.e. Code Injection), meaning attacker-controlled input is incorporated into a code execution context - typically PHP eval(), dynamic include/require, or callable dispatch - without adequate validation or sandboxing. In WordPress plugins this class of bug commonly arises from registering AJAX endpoints (wp_ajax_nopriv_* hooks) that pass request parameters into code-evaluation primitives, enabling arbitrary PHP execution within the web server process.
Affected ProductsAI
The vulnerability affects the sunjianle ajax-extend WordPress plugin in all versions from initial release through and including version 1.0, as reported by Patchstack (audit@patchstack.com). No CPE strings were provided in the source data. There is no indication of a fixed branch, and the plugin appears to have no version newer than 1.0 available.
RemediationAI
No vendor-released patch identified at time of analysis - the affected range extends through the latest known release (<= 1.0). The recommended action is to deactivate and remove the ajax-extend plugin from all WordPress installations immediately, as no upgrade path is published; if the plugin is functionally required, replace it with a maintained AJAX-extension plugin. As compensating controls until removal, restrict access to /wp-admin/admin-ajax.php via WAF rules blocking ajax-extend's specific action parameters (side effect: may break legitimate plugin functionality), place the site behind a virtual patching service such as Patchstack or Wordfence which typically ships rules for Patchstack-reported CVEs, and monitor web server logs for anomalous POST requests to admin-ajax.php containing PHP code fragments or base64-encoded payloads. Consult the Patchstack advisory referenced via the audit@patchstack.com CNA assignment for any subsequent vendor response.
More in Wordpress Plugin
View allThe 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 Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
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
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 Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today