Description
WordPress Plugin Photo Gallery by 10Web-Mobile-Friendly Image Gallery is prone to an SQL injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. WordPress Plugin Photo Gallery by 10Web-Mobile-Friendly Image Gallery version 1.3.29 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.3.38 or latest
References
http://www.defensecode.com/advisories/DC-2017-02-011_WordPress_WebDorado_Gallery_Plugin_Advisory.pdf
https://www.exploit-db.com/exploits/41966/
https://packetstormsecurity.com/files/142395/WordPress-WebDorado-Gallery-1.3.29-SQL-Injection.html
Related Vulnerabilities
Magento Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2019-7871)
WordPress Plugin Email Subscriber Cross-Site Scripting (1.1)
Apache Tomcat Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-3546)
PostgreSQL CVE-2021-3677 Vulnerability (CVE-2021-3677)
WordPress Plugin Calendar by WD-Responsive Event Calendar for WordPress SQL Injection (1.4.9)