Full Disclosure mailing list archives

Re: WordPress Authenticated File Upload Authorisation Bypass


From: Greg Knaddison <greg.knaddison () acquia com>
Date: Thu, 21 Jun 2012 08:42:27 -0600

On Wed, Jun 20, 2012 at 8:04 PM, Denis Andzakovic <
denis.andzakovic () security-assessment com> wrote:

Exploitation of this vulnerability requires a malicious user with
access to the admin panel to use the
"/wp-admin/plugin-install.php?tab=upload" page to upload a malicious
file.


That tool is meant to allow an admin to upload arbitrary php plugins. You
can argue that this feature is insecure by design, but there are two
solutions from the WordPress perspective:

1) "Don't grant malicious users the permission to install plugins."
2) If you don't want this feature on your site at all, this feature can be
disabled in the config define( 'DISALLOW_FILE_MODS', TRUE);

By the way, two more "vulnerabilities" the theme installer has this same
issue and the upgrade tool could also be abused if you can poison the DNS
of the server.

Regards,
Greg
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: