Description
WordPress Plugin Photo Gallery by 10Web-Mobile-Friendly Image Gallery is prone to a vulnerability that lets attackers upload arbitrary files because the application fails to properly sanitize user-supplied input. An attacker can exploit this vulnerability to upload arbitrary code and run it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible. WordPress Plugin Photo Gallery by 10Web-Mobile-Friendly Image Gallery version 1.2.5 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.2.6 or latest
References
http://security.szurek.pl/photo-gallery-125-unrestricted-file-upload.html
http://www.exploit-db.com/exploits/35916/
http://packetstormsecurity.com/files/130104/Photo-Gallery-1.2.5-Shell-Upload.html
Related Vulnerabilities
WordPress Plugin AnyMind Widget Cross-Site Request Forgery (1.1)
WordPress Plugin BulletProof Security Multiple Cross-Site Scripting Vulnerabilities (.53.2)
MySQL CVE-2018-3156 Vulnerability (CVE-2018-3156)
Oracle Database Server CVE-2008-2608 Vulnerability (CVE-2008-2608)
WordPress Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-2203)