It is a highly chance, that they backdoored it to protect it from being cracked or shared. A malicious user, can have found this weakness and now he is abusing it in your server.
They maybe, can not admit that, but it is a possible true history.
If you want a tip to see how the GM Privileges are being generated, do this :
1) In your website, make sure to log 'all' the SQL queries to a txt file, this way, if it is an injection happening in your website you will know.
2) The same for the game server, find a way to log it to a file and verify it.
If you don't find it in any of the two ways, then it is surely a private backdoor, not that if in case of 2) you find something it won't be a backdoor, it can also be... depending on which query was used for it.