PT-2022-13435 · WordPress · Donations
Cydave
·
Published
2022-04-25
·
Updated
2022-05-03
·
CVE-2022-0782
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Donations WordPress plugin versions prior to 1.8
Description
The issue arises from the lack of sanitization and escaping of the
nd donations id parameter in SQL statements. This occurs via the /wp-admin/admin-ajax.php AJAX action, specifically through the nd donations single cause form validate fields php function function, which is accessible to unauthenticated users. This leads to an unauthenticated SQL Injection.Recommendations
For Donations WordPress plugin versions prior to 1.8, update to version 1.8 or later to resolve the issue. As a temporary workaround, consider restricting access to the
nd donations single cause form validate fields php function AJAX action to authenticated users only, until a patch is available. Avoid using the nd donations id parameter in the affected AJAX endpoint until the issue is resolved.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Donations