Contest Gallery Plugin/Contest Gallery Pro Plugin 19.1.5 on WordPress POST Parameter order-custom-fields-with-and-without-search.php cg_order sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Contest Gallery Plugin and Contest Gallery Pro Plugin on WordPress. This vulnerability affects unknown code of the file order-custom-fields-with-and-without-search.php of the component POST Parameter Handler. Performing a manipulation of the argument cg_order results in sql injection. This vulnerability was named CVE-2022-4165. The attack may be initiated remotely. There is no available exploit. You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in Contest Gallery Plugin and Contest Gallery Pro Plugin on WordPress (Photo Gallery Software). This affects some unknown functionality of the file order-custom-fields-with-and-without-search.php of the component POST Parameter Handler. The manipulation of the argument cg_order with an unknown input leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality. The summary by CVE is:
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_order POST parameter before concatenating it to an SQL query in order-custom-fields-with-and-without-search.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.
The weakness was presented 12/26/2022. The advisory is shared at wpscan.com. This vulnerability is uniquely identified as CVE-2022-4165 since 11/28/2022. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
By approaching the search of inurl:order-custom-fields-with-and-without-search.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 19.1.5.1 eliminates this vulnerability.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Contest Gallery Plugin/Contest Gallery Pro Plugin 19.1.5.1
Timeline
11/28/2022 🔍12/26/2022 🔍
12/26/2022 🔍
04/12/2025 🔍
Sources
Advisory: wpscan.comStatus: Confirmed
CVE: CVE-2022-4165 (🔍)
GCVE (CVE): GCVE-0-2022-4165
GCVE (VulDB): GCVE-100-216813
Entry
Created: 12/26/2022 17:38Updated: 04/12/2025 10:30
Changes: 12/26/2022 17:38 (42), 01/24/2023 14:37 (11), 04/12/2025 10:30 (17)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.