Description
WordPress Plugin Picturesurf Gallery is prone to a vulnerability that lets attackers upload arbitrary files. The issue occurs because the application fails to adequately sanitize user-supplied input. An attacker can exploit this vulnerability to upload arbitrary PHP code and run it in the context of the Web server process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible. WordPress Plugin Picturesurf Gallery version 1.2 is vulnerable; prior versions may also be affected.
Remediation
Restrict access to the wp-content/plugins/picturesurf-gallery/upload.php script (e.g. via .htaccess) or disable the plugin until a fix is available
References
http://1337day.com/exploits/18488
http://packetstormsecurity.com/files/113405/WordPress-Picturesurf-Gallery-1.2-Shell-Upload.html
Related Vulnerabilities
WordPress Plugin MapSVG Lite Arbitrary File Upload (4.0.5)
WordPress Plugin WordPress Download Manager Cross-Site Request Forgery (2.8.99)
Apache Traffic Server Improper Input Validation Vulnerability (CVE-2021-37150)
WordPress Plugin The Plus Addons for Elementor Cross-Site Scripting (4.1.11)
WordPress Plugin SocialFit 'msg' Parameter Cross-Site Scripting (1.2.2)