SQL Buddy Remote Code Execution
SQL Buddy suffers from a remote code execution. This happens due to the fact that it allows the user to login using any server he wants and that it allows the user to export data from the database to a file on the webserver. In order to exploit this bug, the user must use a sql server they control and have valid credentials for, create a database and a table with one column of type text, insert the php code they want to execute into that table, choose the previously created table from the left menu, click Export from the top menu, choose CSV format, choose 'Text File' and name the file with php extension for example shell.php. The exported file will be at : sqlbuddy/exports/ assuming the user installed sqlbuddy in a folder named sqlbuddy.