Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Feb 2008
    Location
    Derby
    Posts
    305
    Tokens
    0

    Default

    Wellanyways ned to either make this DJ panel safe or get a safer one? Ay reccomends?
    Win rares and lots more on this thread http://www.habboxforum.com/showthread.php?t=479892
    www.habbo-hc.com -LOOKING FOR STAFF

  2. #12
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Lots of people out there to make bigger and better panels.
    Hi, names James. I am a web developer.

  3. #13
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by DriftPanzy View Post
    Ever heard of session stealing? They publish the users password via a SESSION its like putting it on a file on your server and calling it index.html looooooool
    Drift, I think you're wrong about sessions being that easy to steal. The only reason that you could steal sessions from the Habbo site was that it had a vulnerability due to an XSS (Cross Site Scripting) issue. In general, you can't steal sessions, unless there is a browser exploit or some bad coding somewhere.

    I recall that the problem with the Habbo website was that some input was loaded through a URL (GET) parameter and it wasn't filtered so things could be done. If you're interested in find out more, I suggets you read http://en.wikipedia.org/wiki/Session_hijacking and http://en.wikipedia.org/wiki/Cross-site_scripting.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  4. #14
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by DriftPanzy View Post
    Oh god, how does it get hacked though? LOL, I just checked "check.php" it sets a SESSION for a password? No wonder its insecure, I think the whole thing needs re-thinking but no offense to the creator.



    I just checked one source of it, and I think its insecure.

    PHP Code:
    $query mysql_query("SELECT username,djname,passwrd,rank,email FROM rp_users WHERE username = '$username'") or die(mysql_error());
    $row mysql_fetch_array($query);
    $_SESSION["rp_logged"] = TRUE;
    $_SESSION["rp_username"] = $row['username'];
    $_SESSION["rp_passwrd"] = $row['passwrd'];
    $_SESSION["rp_djname"] = $row['djname'];
    $_SESSION["rp_email"] = $row['email'];
    $_SESSION["rp_rank"] = $row['rank']; 
    Quote Originally Posted by DriftPanzy View Post
    Ever heard of session stealing? They publish the users password via a SESSION its like putting it on a file on your server and calling it index.html looooooool
    Sessions are on the remote server, and can't be edited, there is nothing wrong with that piece of code.

    As long as the password is a hash, and not plaintext, setting it for a session is alright, not the best practice in the world, but no harm done.

    With Habbo, they were getting the user's session ID, setting it as their own, then it would recognize you.. as them..

  5. #15
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    One little exploit in his coding could get the server to set false sessions, seeing as his sessions are used against the database Id say thats extremely vulnerable.

    PHP Code:
    if($_SESSION['rp_logged'] == "TRUE") { 
    $username $_SESSION['rp_username']; 
    $passwrd $_SESSION['rp_passwrd']; 
    $rank $_SESSION['rp_rank']; 
    $check mysql_query("SELECT username, passwrd FROM rp_users WHERE username = '$username'")or die(mysql_error()); 
    Hi, names James. I am a web developer.

  6. #16
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    I don't see any exploits in that..

  7. #17
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    if($_SESSION['rp_logged'] == "TRUE") {
    >> $username = $_SESSION['rp_username']; <<
    $passwrd = $_SESSION['rp_passwrd'];
    $rank = $_SESSION['rp_rank'];
    $check = mysql_query("SELECT username, passwrd FROM rp_users WHERE username = ' >>> $username <<<'")or die(mysql_error());

    I do I'm sorry if you don't I've had this problem in the past.
    Last edited by Protege; 19-04-2008 at 01:55 PM.
    Hi, names James. I am a web developer.

  8. #18
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    LOL, there is nothing wrong with that at all? Your just selecting something out of a database. I would rather use the ID instead of a username.

  9. #19
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    LOL, there is nothing wrong with that at all? Your just selecting something out of a database. I would rather use the ID instead of a username.
    Yea but its going past one validation before it writes the new sessions?

    I think that this system is easily exploitable by the right individual.
    Hi, names James. I am a web developer.

  10. #20

    Default

    Mod can close this,
    I got new panel !

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •