PT-2022-26003 · WordPress · Contest Gallery Wordpress Plugin
Daniel Krohmer
+1
·
Published
2022-12-26
·
Updated
2023-01-04
·
CVE-2022-4165
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/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 allows malicious users with at least author privilege to leak sensitive information from the site's database. This is due to the failure to escape the
cg order POST parameter before concatenating it to an SQL query in the order-custom-fields-with-and-without-search.php file.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 order-custom-fields-with-and-without-search.php file to minimize the risk of exploitation.
Avoid using the
cg order parameter in the affected POST request 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 Wordpress Plugin