SQL Box can change the database
http://bugs.otrs.org/show_bug.cgi?id=10607

Added check for SQL query, it is allowed only SELECT query