Skip to main content

Coupon Referral Program CVE-2024-25100

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2024-02-12 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
    Identify WordPress site with plugin installed
  2. Delivery
    Send HTTP request with serialized PHP payload
  3. Exploit
    Plugin deserializes attacker input
  4. Install
    POP gadget chain executes via magic methods
  5. C2
    Arbitrary code or file operations run as web user
  6. Execute
    Establish persistence via admin user or webshell
  7. Impact
    Pivot to data exfiltration or lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
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

Exploitation requires that the target WordPress site has the WP Swings Coupon Referral Program plugin installed and activated at version 1.8.4 or earlier, and that the vulnerable endpoint is reachable over the network - per CVSS PR:N/UI:N/AC:L, no authentication, no user interaction, and no special configuration are needed beyond the plugin being active. The practical severity of the resulting object injection depends on the presence of a usable POP gadget chain in WordPress core, WooCommerce, or other plugins loaded in the same request; on a stock WordPress + WooCommerce installation, suitable chains have historically existed, so this is rarely a limiting factor. PHP version and any custom hardening (e.g., disable_functions, open_basedir) may constrain the post-injection impact but do not block the initial deserialization.

Impact

The CVSS vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H paints a worst-case picture: network-reachable, low complexity, no privileges, no user interaction, with a scope change and full CIA impact - yielding the maximum 10.0 score. However, EPSS of 0.83% (75th percentile) is meaningfully lower than what is typical for actively exploited WordPress plugin deserialization bugs, suggesting no widely circulated weaponized exploit has surfaced yet. KEV status is not confirmed, and no POC is referenced in the supplied data. The realistic priority is high but not emergency-tier: deserialization-to-RCE in WordPress plugins is historically a reliable exploitation primitive once a gadget chain is published, so the gap between current EPSS and potential impact is the key risk - patching should not be deferred on the assumption that low EPSS equals low real risk. SSVC framework data was not provided.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request to a public WordPress site running Coupon Referral Program ≤ 1.8.4, with a crafted serialized PHP object placed in a parameter the plugin passes to unserialize(). The deserialization triggers a POP gadget chain from WordPress core, WooCommerce, or another installed plugin, achieving arbitrary code execution, file read/write, or admin account creation in the WordPress context. No public exploit identified at time of analysis, but the CVSS:S:C scope change indicates impact reaches beyond the plugin's own privileges into the broader WordPress installation.

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

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

Alert me

AnalysisAI

Unauthenticated PHP object injection in the WP Swings Coupon Referral Program plugin for WordPress (versions up to and including 1.8.4) allows remote attackers to deliver crafted serialized payloads that the plugin deserializes, leading to full compromise with changed scope (CVSS 10.0). No public exploit has been identified at time of analysis, and EPSS sits at 0.83% (75th percentile) - moderate exploitation likelihood despite the maximum severity score. The vulnerability is not currently listed in CISA KEV.

RemediationAI

Upgrade the Coupon Referral Program plugin to a version newer than 1.8.4 - a vendor-released fixed version is referenced by the advisory but the exact patched build number is not independently confirmed from the supplied data, so administrators should consult the Patchstack advisory and the WP Swings plugin changelog to identify the current patched release before upgrading. If immediate patching is not possible, deactivate and remove the plugin until it can be upgraded; this fully eliminates exposure but breaks any referral-coupon functionality and any shortcodes embedded in pages. As a compensating control short of removal, restrict access to the plugin's AJAX and REST endpoints at the web server or WAF layer (block or require authentication for requests to admin-ajax.php actions associated with the plugin, and to its registered REST routes), accepting that legitimate referral users will also be blocked. Generic WAF rules detecting serialized PHP payloads (strings beginning with O:, a:, or s: in request bodies) provide partial mitigation but are easily bypassed and can break unrelated functionality.

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 affected component is the WP Swings Coupon Referral Program plugin (CPE cpe:2.3:a:wpswings:coupon_referral_program), a WordPress e-commerce add-on that integrates with WooCommerce to manage referral coupons. The root cause is CWE-502 (Deserialization of Untrusted Data), a class of bug in which attacker-controlled input reaches PHP's unserialize() function or an equivalent routine. In WordPress plugin contexts, this typically results in PHP Object Injection, where the attacker constructs a serialized object that, when reconstituted, triggers magic methods (__wakeup, __destruct, __toString) on classes loaded into the runtime. When suitable POP (Property-Oriented Programming) gadget chains exist in WordPress core, WooCommerce, or other active plugins, the injection escalates to arbitrary file read/write, SQL execution, or remote code execution.

Know when Coupon Referral Program 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

DescriptionCVE.org

Deserialization of Untrusted Data vulnerability in WP Swings Coupon Referral Program coupon-referral-program allows Object Injection.This issue affects Coupon Referral Program: from n/a through < 1.8.4.

Executive ViewAI

Why It Matters

The WP Swings Coupon Referral Program plugin for WordPress (versions ≤1.8.4) contains a critical vulnerability allowing attackers to completely compromise affected WordPress installations without authentication. No public exploit identified at time of analysis; however, no vendor-released patch identified means immediate plugin removal is the only viable remediation. Organizations using this plugin face urgent risk of complete data compromise, website takeover, and potential lateral movement into connected systems.

Business Impact: Severe
Compensating Controls

If plugin removal is not immediately feasible: (1) Implement WAF rules to detect and block requests containing serialized PHP objects; (2) restrict WordPress admin access to whitelisted administrative IP addresses only; (3) deploy real-time monitoring for unusual WordPress plugin activity and database deserialization events; (4) segment WordPress infrastructure from direct network access to backend databases and sensitive systems. These interim mitigations are not a substitute for removal-complete plugin deletion remains mandatory and is the only definitive remediation.

Threat Intelligence Overview

EPSS Score
0.8%
Top 25% exploitable
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 No
EPSS 0.8%
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

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:wpswings:coupon_referral_program:*:*:*:*:*:wordpress:*:*

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