6.5
MEDIUM
CVE-2022-4160
Contest Gallery WordPress SQL Injection
Description

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_copy_id POST parameter before concatenating it to an SQL query in cg-copy-comments.php and cg-copy-rating.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.

INFO

Published Date :

Dec. 26, 2022, 1:15 p.m.

Last Modified :

Nov. 21, 2024, 7:34 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-4160 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Contest-gallery contest_gallery
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-4160.

URL Resource
https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14 Exploit Third Party Advisory
https://wpscan.com/vulnerability/813de343-4814-42b8-b8df-1695320512cd Exploit Third Party Advisory
https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14 Exploit Third Party Advisory
https://wpscan.com/vulnerability/813de343-4814-42b8-b8df-1695320512cd Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-4160 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-4160 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14
    Added Reference https://wpscan.com/vulnerability/813de343-4814-42b8-b8df-1695320512cd
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_copy_id POST parameter before concatenating it to an SQL query in cg-copy-comments.php and cg-copy-rating.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database. The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_copy_id POST parameter before concatenating it to an SQL query in cg-copy-comments.php and cg-copy-rating.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.
    Removed CWE WPScan CWE-89
  • Initial Analysis by [email protected]

    Jan. 04, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14 No Types Assigned https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14 Exploit, Third Party Advisory
    Changed Reference Type https://wpscan.com/vulnerability/813de343-4814-42b8-b8df-1695320512cd No Types Assigned https://wpscan.com/vulnerability/813de343-4814-42b8-b8df-1695320512cd Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:*:wordpress:*:* versions up to (excluding) 19.1.5.1 *cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:pro:wordpress:*:* versions up to (excluding) 19.1.5.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-4160 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-4160 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.03%

score

0.46362

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability