### [CVE-2021-24915](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24915) ![](https://img.shields.io/static/v1?label=Product&message=Contest%20Gallery%20%E2%80%93%20Photo%20Contest%20Plugin%20for%20WordPress&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=13.1.0.6%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20SQL%20Command%20('SQL%20Injection')&color=brightgreen) ### 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 ### POC #### Reference - https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917 - https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac #### Github - https://github.com/20142995/nuclei-templates