PT-2022-25938 · WordPress · Contest Gallery+1
Daniel Krohmer
+1
·
Published
2022-12-26
·
Updated
2023-01-04
·
CVE-2022-4156
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Contest Gallery WordPress plugin versions prior to 19.1.5.1
Contest Gallery Pro WordPress plugin versions prior to 19.1.5.1
Description
The issue arises from the failure to escape the
user id POST parameter before it is concatenated to an SQL query in the ajax-functions-backend.php file. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.Recommendations
For Contest Gallery WordPress plugin versions prior to 19.1.5.1, update to version 19.1.5.1 or later.
For Contest Gallery Pro WordPress plugin versions prior to 19.1.5.1, update to version 19.1.5.1 or later.
As a temporary workaround, consider restricting access to the ajax-functions-backend.php file to minimize the risk of exploitation.
Avoid using the
user id parameter in the affected API endpoint until the issue is resolved.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Contest Gallery
Contest Gallery Pro