CVE-2022-0782CWE-89

Donations <= 1.8 - Unauthenticated SQLi

published April 25, 2022

CVSS
—
EPSS
2%
Percentile
77.7
In the wild
Unconfirmed
What it is

⚠️ An unauthenticated SQL injection lurks in the Donations WordPress plugin, and it’s as easy as pie for an attacker to exploit! 🎂 This vulnerability is like an open window in a bank vault — anyone strolling by could reach in and grab whatever they want without breaking a sweat. Just like that window, the nd_donations_id parameter isn't being checked, allowing attackers to sneak in their own SQL commands. If exploited, this flaw could allow an attacker to run arbitrary SQL queries, potentially accessing sensitive data or manipulating the database entirely. Imagine them gaining full control over donation records, user data, or even worse — deleting vital information! That’s absolutely devastating for any organization relying on this plugin.

Put simply

This vulnerability is like an open window in a bank vault — anyone strolling by could reach in and grab whatever they want without breaking a sweat. Just like that window, the nd_donations_id parameter isn't being checked, allowing attackers to sneak in their own SQL commands. The Donations WordPress plugin version 1.8 fails to sanitize and escape the nd_donations_id parameter before it’s used in a SQL statement through the nd_donations_single_cause_form_validate_fields_php_function AJAX action, which can be accessed by unauthenticated users, resulting in a straightforward SQL injection vulnerability.

What to do

If exploited, this flaw could allow an attacker to run arbitrary SQL queries, potentially accessing sensitive data or manipulating the database entirely. Imagine them gaining full control over donation records, user data, or even worse — deleting vital information! That’s absolutely devastating for any organization relying on this plugin. Update the Donations plugin to the latest version to patch this vulnerability. Additionally, conduct a security audit of your database queries to ensure proper validation and sanitization measures are in place against SQL injection attacks. You've got this! By taking these steps, you're not just patching a hole; you're strengthening your defenses like a true security hero! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01749 · 77.7th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-04-25T15:51Z
EPSS history
Timeline
  • 25 APR 15:51Z
    Donations <= 1.8 - Unauthenticated SQLi
    cvelistv5