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 Font Uploader 'font-upload.php' Arbitrary File Upload (1.2.4)
WordPress Plugin YITH Color and Label Variations for WooCommerce Security Bypass (1.8.11)
Microsoft SQL Server Other Vulnerability (CVE-2000-1084)
WordPress Plugin Booster for WooCommerce Cross-Site Scripting (5.6.1)
MediaWiki Incorrect Permission Assignment for Critical Resource Vulnerability (CVE-2021-30152)