Skip to main content

ajax-extend CVE-2024-49254

CRITICAL
Code Injection (CWE-94)
2024-10-16 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. Access
    Fingerprint WordPress plugin via /wp-content/plugins path
  2. Delivery
    Craft malicious admin-ajax.php POST with PHP payload
  3. Exploit
    Trigger code injection in ajax-extend handler
  4. Execution
    Execute arbitrary PHP as web server user
  5. Persist
    Drop webshell and read wp-config.php
  6. Impact
    Pivot to database and host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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 the sunjianle ajax-extend WordPress plugin at any version up to and including 1.0. CVSS PR:N/UI:N/AC:L confirms no authentication, no user interaction, and low attack complexity are required; the only practical prerequisites are that the target WordPress site has the ajax-extend plugin installed and activated, and that the site's admin-ajax.php endpoint is reachable from the attacker (the WordPress default). The narrow real-world limiter is plugin adoption - exploitation is gated by finding sites that actually run this specific, low-popularity plugin, not by any technical mitigation.

Impact

The signals are mixed but lean toward high real-world risk for any exposed instance: the CVSS vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H describes a trivially reachable, unauthenticated, no-interaction code injection with scope change - essentially a worst-case web vulnerability. Patchstack (a recognized WordPress vulnerability researcher) is the reporter, lending credibility. However, EPSS is only 0.70% (72nd percentile) and the CVE is not on CISA KEV, with no public POC identified, which suggests the plugin's small installation footprint limits opportunistic mass-exploitation rather than the bug being hard to weaponize. Net: the vulnerability is severe per-instance but the attack surface is narrow due to limited plugin adoption; sites running ajax-extend should treat this as critical, while broader fleets can deprioritize relative to higher-EPSS WordPress CVEs.

Exploit ScenarioDerived

An attacker enumerates WordPress sites running ajax-extend (via plugin fingerprinting on /wp-content/plugins/ajax-extend/) and sends a crafted unauthenticated POST request to wp-admin/admin-ajax.php targeting the plugin's vulnerable action handler with a PHP payload. The injected code executes within the web server process, granting the attacker a webshell, the ability to read wp-config.php (database credentials), and pivot to the underlying host. No public POC is identified at time of analysis, but the CWE-94 class and CVSS profile make weaponization straightforward for a motivated researcher.

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

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

Alert me

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

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.

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.

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

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.

Know when Wordpress Plugin 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 16, 2024 - 14:15 nvd
N/A

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

Executive ViewAI

Why It Matters

The ajax-extend WordPress plugin (versions through 1.0) exposes a critical unauthenticated remote code execution flaw allowing complete server compromise without authentication requirements. Organizations using this plugin face immediate risk of data theft and infrastructure compromise. Urgency is compounded by the absence of any vendor patch.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Immediate mitigations: (1) Deactivate and remove plugin from all instances; (2) Implement Web Application Firewall rules to detect and block ajax-extend exploitation attempts; (3) Restrict WordPress administrative interfaces to corporate VPN and known IP ranges; (4) Deploy enhanced logging and alerting on web server processes spawned from the application context; (5) Conduct forensic review of access logs spanning 30+ days prior to identify signs of prior exploitation.

Threat Intelligence Overview

EPSS Score
0.7%
Top 28% 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 0.7%
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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

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