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 iframe Cross-Site Scripting (4.4)
WordPress Plugin Simple Slide Show TimThumb Arbitrary File Upload (1.0)
Drupal Core 9.0.0 Remote Code Execution (9.0.0 - 9.0.0)
WordPress Plugin Minimal Coming Soon & Maintenance Mode-Coming Soon Page Security Bypass (1.87)
WordPress Plugin Cookie Law Bar Cross-Site Scripting (1.2.1)