Skip to main content

Social Warfare CVE-2021-4434

CRITICAL
Code Injection (CWE-94)
2024-01-17 security@wordfence.com
10.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Scan for WordPress sites running Social Warfare ≤ 3.5.2
  2. Delivery
    Send crafted HTTP request with malicious swp_url
  3. Exploit
    Plugin fetches and executes attacker-controlled code
  4. Execution
    Gain PHP code execution as web server user
  5. Persist
    Drop webshell and add rogue admin
  6. Impact
    Pivot or deface site

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

The target WordPress site must have the Social Warfare plugin installed and activated at version 3.5.2 or earlier, and the plugin endpoint that processes the 'swp_url' parameter must be reachable over the network from the attacker. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, no user interaction, and no special configuration beyond a default installation of the vulnerable plugin are required. Exploitation is limited only by whether the site still runs the abandoned/legacy ≤ 3.5.2 branch and by any WAF or network-level filtering that blocks outbound fetches or anomalous 'swp_url' values; sites that have updated past 3.5.2 or removed the plugin are not exposed.

Impact

All severity signals point in the same direction: the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H describes a network-reachable, low-complexity, unauthenticated, no-user-interaction attack with scope change and total CIA impact - effectively worst-case. Publicly available exploit code lowers the skill barrier, and the EPSS score of 7.99% at the 92nd percentile is materially higher than typical CVEs and consistent with opportunistic mass scanning of WordPress endpoints. The vulnerability is not currently listed in CISA KEV, so there is no government-confirmed active exploitation, but the combination of trivially exploitable RCE, a widely deployed WordPress plugin, and existing PoC code means this should be treated as a high-priority issue rather than a theoretical risk. No conflicting signals were observed across the provided data.

Exploit ScenarioDerived

An unauthenticated attacker scans the internet for WordPress sites running Social Warfare ≤ 3.5.2 and sends a single crafted HTTP request to the vulnerable plugin endpoint with a malicious 'swp_url' value pointing to attacker-hosted payload content. The plugin fetches and evaluates that content as code on the server, giving the attacker arbitrary PHP/command execution as the web server user, which is typically used to drop a webshell, add a malicious admin user, or pivot to other sites on shared hosting. Publicly available exploit code makes this scenario achievable with off-the-shelf tooling.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 8.0% exploitation probability (EPSS)

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

Alert me

AnalysisAI

Remote code execution in the Social Warfare WordPress plugin (versions ≤ 3.5.2) allows unauthenticated attackers to run arbitrary code on the server via the 'swp_url' parameter. Publicly available exploit code exists and the issue carries a maximum CVSS 10.0 with scope change, while the EPSS score of 7.99% (92nd percentile) signals meaningfully elevated exploitation interest. The flaw was reported by Wordfence and primarily threatens WordPress sites still running this abandoned/legacy plugin version.

RemediationAI

Upgrade the Social Warfare plugin to a version newer than 3.5.2 as published on the WordPress plugin repository; the input data does not specify an exact fix version, so Patch available per vendor advisory and administrators should verify the latest release directly from warfareplugins before deploying. If immediate upgrade is not possible, deactivate and remove the Social Warfare plugin entirely, which eliminates the vulnerable code path at the cost of losing social-sharing widgets on the site. As a temporary compensating control, use a WAF or web server rule (ModSecurity, Wordfence, Cloudflare) to block requests containing the 'swp_url' parameter to plugin endpoints, accepting that this may break legitimate plugin functionality, and restrict administrative and plugin endpoints by IP where feasible to reduce exposure until the plugin is updated or removed.

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

Social Warfare is a popular social-sharing plugin for WordPress published by warfareplugins. The CPE cpe:2.3:a:warfareplugins:social_warfare confirms the affected product line and the wordpress target platform. The root cause maps to CWE-94 (Improper Control of Generation of Code, i.e., Code Injection): the plugin processes the 'swp_url' parameter in a way that allows attacker-supplied content to be interpreted and executed as code on the server, almost certainly by fetching a remote payload and evaluating it within the PHP runtime. Because WordPress plugins run with full PHP privileges of the web server, code injection inside the plugin translates directly into arbitrary command execution in the WordPress context.

Know when Social Warfare 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
PoC Detected
Apr 08, 2026 - 18:17 vuln.today
Public exploit code
CVE Published
Jan 17, 2024 - 09:15 nvd
CRITICAL 10.0

DescriptionCVE.org

The Social Warfare plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 3.5.2 via the 'swp_url' parameter. This allows attackers to execute code on the server.

Executive ViewAI

Why It Matters

The Social Warfare WordPress plugin (versions ≤ 3.5.2) contains a critical remote code execution vulnerability (CVSS 10.0) that unauthenticated attackers can exploit to execute arbitrary server code. Publicly available exploit code exists for this abandoned plugin, creating immediate threat to any organization still running affected versions. No vendor patch is available, requiring emergency deactivation and removal of the plugin from all WordPress installations.

Business Impact: Severe
Compensating Controls

Until plugin removal is complete: (1) Deploy WAF rules to block requests containing 'swp_url' parameter, (2) Disable or remove unused WordPress plugins and themes to reduce attack surface, (3) Restrict WordPress administrative access to VPN or allowlisted IP ranges, (4) Enable WordPress security monitoring to detect unauthorized file modifications or unusual database queries. These interim controls mitigate but do not eliminate the vulnerability-plugin removal is mandatory.

Threat Intelligence Overview

EPSS Score
8.0%
Top 8% exploitable
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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 Yes
EPSS 8.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

78
Low Medium High Critical
KEV: 0
EPSS: +8
CVSS: +50
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:warfareplugins:social_warfare:*:*:*:*:*:wordpress:*:*

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