PT-2022-25975 · WordPress · Contest Gallery Wordpress Plugin

Daniel Krohmer

+1

·

Published

2022-12-26

·

Updated

2023-01-04

·

CVE-2022-4160

CVSS v3.1

6.5

Medium

VectorAV: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 copy id POST parameter before concatenating it to an SQL query in files such as cg-copy-comments.php and cg-copy-rating.php.
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 cg-copy-comments.php and cg-copy-rating.php files to minimize the risk of exploitation. Avoid using the cg copy id parameter in the affected API endpoints until the issue is resolved.

Exploit

Fix

Related Identifiers

CVE-2022-4160

Affected Products

Contest Gallery Wordpress Plugin