Description
WordPress Plugin MAC PHOTO 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 MAC PHOTO GALLERY version 2.7 is vulnerable; prior versions may also be affected.
Remediation
Restrict access to the wp-content/plugins/mac-dock-gallery/upload-file.php script (e.g. via .htaccess)
References
http://www.securityfocus.com/bid/53912/exploit
http://www.exploit-db.com/exploits/19056/
Related Vulnerabilities
WordPress Plugin TemplatesNext ToolKit Cross-Site Scripting (3.2.7)
PostgreSQL Permissions, Privileges, and Access Controls Vulnerability (CVE-2014-0060)
WordPress Plugin Tutor LMS-eLearning and online course solution Cross-Site Scripting (1.9.14)
WordPress Plugin Post Grid PHP Object Injection (2.0.11)
Plone CMS Improper Restriction of XML External Entity Reference Vulnerability (CVE-2020-28734)