MySQL User Defined Function
Last updated
Last updated
If we find root credentials to an internal mysql server it is game over.
Once we log in, we need to locate plugin paths and see if the secure file priv is null so that we can load data into the database.
Take note of the plugin directory.
Make sure that this one is null, otherwise this shit is not vulnerable because we won't be able to load data.
Now literally just follow this.
You should get a reverse shell. If by any reason there is a firewall blocking you from outbound connections ok not an issue.
Try this:
Here are some articles to help you out:
Sometimes it'll give you an error because there is an issue doing the dumpfile process.
This is to troubleshoot it, just literally copy .so file into the plugin directory manually via the command line.