9.8critical
Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 12.0% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Contest Gallery – Photo Contest Plugin for WordPress | from 13.1.0.6 before 13.1.0.6 | CVE List |
| contest_gallery contest_gallery | before 13.1.0.6 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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
NVD (es)
El plugin Contest Gallery de WordPress versiones anteriores a 13.1.0.6, no presenta comprobaciones de capacidad y no sanea o escapa del parámetro cg-search-user-name-original antes de usarlo en una sentencia SQL cuando son exportados usuarios de una galería, lo que podría permitir a personas no autenticadas llevar a cabo ataques de inyecciones SQL, así como conseguir la lista de todos los usuarios registrados en el blog, incluyendo su nombre de usuario y dirección de correo electrónico
References
| https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac | exploit, third-party-advisory | |
| https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24915 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24915 changed 2026-06-17 | Public domain |