Re: Bcstorm group exploit
Having this problem again. Some guy named fentu ranked himself admin and did the same with all of our groups. When I posted this thread this guy ranked himself MOD, we weren't sure if he was the one who did this, but now we're pretty sure. I still don't know where this exploit is.
Re: Bcstorm group exploit
Quote:
Originally Posted by
BaasHotel
Having this problem again. Some guy named fentu ranked himself admin and did the same with all of our groups. When I posted this thread this guy ranked himself MOD, we weren't sure if he was the one who did this, but now we're pretty sure. I still don't know where this exploit is.
Seems like you have exploits in cms or something, if they make an sql injection they can access your db.
Re: Bcstorm group exploit
Re: Bcstorm group exploit
Quote:
Originally Posted by
Clawed
What CMS you using..
UberCMS 2.0(live demo @ http://baashotel.eu)
Re: Bcstorm group exploit
Check your emulator SQL error logs to see where he injects it. It triggers an error when he does it wrong ;)
Re: Bcstorm group exploit
Quote:
Originally Posted by
tdid
Check your emulator SQL error logs to see where he injects it. It triggers an error when he does it wrong ;)
Except from
Quote:
MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Parameter '@name' must be defined.
which I'm aware of, this happens when you kick a pet out of your room, I found this:
Quote:
Error in query: UPDATE groups SET Name = '|fc pony's|', Description = 'lekker paardrijden met je vrienden' WHERE Id = '786'
MySql.Data.MySqlClient.MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's|', Description = 'lekker paardrijden met je vrienden' WHERE Id = '786'' at line 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Database_Manager.Database.Session_Details.QueryAdapter.runQuery()
I don't expect this fentu-kid to be pony addict(lol), but it cannot insert the ' into the database. Does this mean that there is an exploit in update group names though?
Re: Bcstorm group exploit
Quote:
Originally Posted by
BaasHotel
Except from which I'm aware of, this happens when you kick a pet out of your room, I found this:
I don't expect this fentu-kid to be pony addict(lol), but it cannot insert the ' into the database. Does this mean that there is an exploit in update group names though?
NO.
Because SQL uses ' for values (EC. '4','Hello') you CAN'T use ' in a value (EC. '4','Hello this is my brother's'), in that example, the value is 'Hello this is my brother' and the ' after brother will stop the value, making s NO valid MySQL query..
HOWEVER, I think if you use it as MySQL parameter, it WON'T use the ' as value (EC. @name as 'my brother's') will insert in query only my brother's, but I'm not sure.
Re: Bcstorm group exploit
Quote:
Originally Posted by
Tha
NO.
Because SQL uses ' for values (EC. '4','Hello') you CAN'T use ' in a value (EC. '4','Hello this is my brother's'), in that example, the value is 'Hello this is my brother' and the ' after brother will stop the value, making s NO valid MySQL query..
HOWEVER, I think if you use it as MySQL parameter, it WON'T use the ' as value (EC. @name as 'my brother's') will insert in query only my brother's, but I'm not sure.
I understand that
Code:
UPDATE groups SET Name = '|fc pony's|', Description = 'lekker paardrijden met je vrienden' WHERE Id = '786'
isn't valid sql.
But if I would insert
Code:
somegroupname' AND sometablename='someshit
in the group settings where I can edit the name, would that actually be valid sql? In that case this can be the way all the group names got changed, but I don't know much about sql injections.
I'm gonna try to use it as mysql parameter. I hope that's gonna solve the problem. (and the possible exploit?)
EDIT:
So now all the group names got changed to ''omg'', just a few seconds ago. I'm just staring with some WTF-head at the moment.
Re: Bcstorm group exploit
I think this is an CMS exploit u need to check ur cms on every line off every page because the guy can make your hotel fucked up
Re: Bcstorm group exploit
No, there is a cool exploit into bcstorm :-)
Re: Bcstorm group exploit
Quote:
Originally Posted by
Ryan
No, there is a cool exploit into bcstorm :-)
Would you mind sharing it? :-)
Re: Bcstorm group exploit
I actually think everything is unfiltered for groups as inputting an ' into a string triggers an SQL error. PM me your skype and I'll help you out over TV.
Re: Bcstorm group exploit
Quote:
Originally Posted by
BaasHotel
Would you mind sharing it? :-)
No, you stole my index.
Quote:
Originally Posted by
tdid
I actually think everything is unfiltered for groups as inputting an ' into a string triggers an SQL error. PM me your skype and I'll help you out over TV.
Actually its not.. In bcstorm is a cool exploit, you can run it by example create a program which made a connection and send a string to something. Easy to fix like check the querys.. #No parameter = hackable# enjoy finding.
Re: Bcstorm group exploit
Quote:
Originally Posted by
Ryan
Actually its not.. In bcstorm is a cool exploit, you can run it by example create a program which made a connection and send a string to something. Easy to fix like check the querys.. #No parameter = hackable# enjoy finding.
Don't wanna help the community get out of here.
We don't like people who think there big, either share it or gtfo.
Also with params things can still be injectable.