Description
WordPress Plugin Royal 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 Royal Gallery version 2.1 is vulnerable; prior versions may also be affected.
Remediation
Restrict access to the wp-content/plugins/wp-royal-gallery/js/swfupload/js/upload.php script (e.g. via .htaccess)
References
Related Vulnerabilities
WordPress Plugin Campaign URL Builder Cross-Site Request Forgery (1.5.0)
WordPress Plugin Disc Golf Manager PHP Object Injection (1.0.0)
phpMyAdmin Other Vulnerability (CVE-2007-2016)
WordPress Plugin Site Offline Or Coming Soon Or Maintenance Mode Cross-Site Request Forgery (1.4.3)
Oracle Application Server Other Vulnerability (CVE-2004-1369)