CMS

Wordpress

Plugin RCE

We can upload php files as plugin

It may be possible to upload .php files as a plugin. Create your php backdoor using for example:

Then add a new plugin:

Upload plugin and press Install Now:

Click on Procced:

Probably this won't do anything apparently, but if you go to Media, you will see your shell uploaded:

Access it and you will see the URL to execute the reverse shell:

If we can't upload php files as plugins

  1. Create php code

  1. zip the php

  1. upload the zip as plugin

  2. activate plugin

Last updated