CVE-2021-25114CWE-89

Paid Memberships Pro < 2.6.7 - Unauthenticated Blind SQL Injection

published February 7, 2022

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.6th percentile for exploit probability.

CVSS
—
EPSS
82%
Percentile
99.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky oversight means unauthenticated users can exploit the Paid Memberships Pro plugin — it doesn’t escape discount codes entered in a REST route! 🚨 Think of it like a restaurant that allows walk-ins where anyone can scribble their own dish on the order pad without a check, potentially ruining the whole menu. An attacker could exploit this SQL injection vulnerability to manipulate the database. They could access sensitive information, modify user data, or even delete records, wreaking havoc on the site’s integrity.

Put simply

Think of it like a restaurant that allows walk-ins where anyone can scribble their own dish on the order pad without a check, potentially ruining the whole menu. This vulnerability arises from a lack of input sanitization on the discount_code parameter in the plugin’s REST API, allowing an attacker to inject malicious SQL queries.

What to do

An attacker could exploit this SQL injection vulnerability to manipulate the database. They could access sensitive information, modify user data, or even delete records, wreaking havoc on the site’s integrity. Update the Paid Memberships Pro plugin to version 2.6.7 or later to mitigate this vulnerability. Always validate and sanitize input in your applications to prevent SQL injection. You've got this! Keep your site secure with timely updates and vigilance. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.81828 · 99.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-02-07T15:47Z
EPSS history
Timeline
  • 07 FEB 15:47Z
    Paid Memberships Pro < 2.6.7 - Unauthenticated Blind SQL Injection
    cvelistv5