{"id":"CVE-2022-4165","state":"PUBLISHED","title":"Contest Gallery < 19.1.5 - Author+ 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_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.","publishedAt":"2022-12-26T12:28:01.816Z","updatedAt":"2025-04-11T23:20:05.228Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"WPScan","products":["Unknown Contest Gallery","Unknown Contest Gallery Pro"],"affected":[{"vendor":"Unknown","product":"Contest Gallery","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"19.1.5.1","versionType":"custom"}],"collectionURL":"https://wordpress.org/plugins"},{"vendor":"Unknown","product":"Contest Gallery Pro","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"19.1.5.1","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/857aba7d-fccd-4672-b734-ab228440dcc0","https://bulletin.iese.de/post/contest-gallery_19-1-4-1_17"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/4xxx/CVE-2022-4165.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-4165","state":"PUBLISHED","datePublished":"2022-12-26T12:28:01.816Z","dateUpdated":"2025-04-11T23:20:05.228Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2022-11-28T15:03:54.057Z"},"containers":{"cna":{"title":"Contest Gallery < 19.1.5 - Author+ SQL Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Unknown","product":"Contest Gallery","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"19.1.5.1","versionType":"custom"}],"collectionURL":"https://wordpress.org/plugins"},{"vendor":"Unknown","product":"Contest Gallery Pro","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"19.1.5.1","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/857aba7d-fccd-4672-b734-ab228440dcc0","tags":["exploit","vdb-entry","technical-description"]},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_17"}],"problemTypes":[{"descriptions":[{"description":"CWE-89 SQL Injection","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateUpdated":"2023-01-10T09:11:18.130Z"},"credits":[{"lang":"en","value":"Kunal Sharma (University of Kaiserslautern)","type":"finder"},{"lang":"en","value":"Daniel Krohmer (Fraunhofer IESE)","type":"finder"},{"lang":"en","value":"WPScan","type":"coordinator"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"WPScan CVE Generator"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/857aba7d-fccd-4672-b734-ab228440dcc0","tags":["exploit","vdb-entry","technical-description","x_transferred"]},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_17","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:34:48.816Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-11T23:19:24.870355Z","id":"CVE-2022-4165","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-11T23:20:05.228Z"}}]}}}