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
Roundcube Multiple Buffer Overflow Vulnerabilities (CVE-2015-2181)
Liferay Portal URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2025-62266)
Python Integer Overflow or Wraparound Vulnerability (CVE-2017-1000158)
Django Incorrect Regular Expression Vulnerability (CVE-2018-7536)