{"id":"CVE-2021-24915","state":"PUBLISHED","title":"Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure","description":"The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address","publishedAt":"2021-11-29T08:25:50.000Z","updatedAt":"2024-08-03T19:49:13.959Z","severity":null,"assigner":"WPScan","products":["Unknown Contest Gallery – Photo Contest Plugin for WordPress"],"affected":[{"vendor":"Unknown","product":"Contest Gallery – Photo Contest Plugin for WordPress","versions":[{"version":"13.1.0.6","status":"affected","lessThan":"13.1.0.6","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24915.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24915","state":"PUBLISHED","datePublished":"2021-11-29T08:25:50.000Z","dateUpdated":"2024-08-03T19:49:13.959Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure","descriptions":[{"lang":"en","value":"The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address"}],"affected":[{"vendor":"Unknown","product":"Contest Gallery – Photo Contest Plugin for WordPress","versions":[{"version":"13.1.0.6","status":"affected","lessThan":"13.1.0.6","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2021-11-29T08:25:50.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"Tyler Miller"}],"source":{"discovery":"EXTERNAL"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24915","STATE":"PUBLIC","TITLE":"Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Contest Gallery – Photo Contest Plugin for WordPress","version":{"version_data":[{"version_affected":"<","version_name":"13.1.0.6","version_value":"13.1.0.6"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"Tyler Miller"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address"}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","refsource":"MISC","url":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac"},{"name":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917","refsource":"MISC","url":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:49:13.959Z"}}]}}}