Results 1 to 8 of 8

Seucrity Threat? Register Global On

This is a discussion on Seucrity Threat? Register Global On within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I found out user can bypass the login page if they know the osCAdminID and type it on URL. Is ...

      
  1. #1
    New Member
    Join Date
    Aug 2008
    Posts
    17
    Rep Power
    0


    Default Seucrity Threat? Register Global On

    I found out user can bypass the login page if they know the osCAdminID and type it on URL.
    Is this a security threat?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Seucrity Thread? Register Global On

    Not really since they are randomly generated by the server. Kinda hard to know a randomly generated number. You can also change a couple settings in the admin and on the server to hide that id from appearing in the url.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Seucrity Threat? Register Global On

    Well they have to figure it out in under 24 mins of when that ID was last used and you did not LOGOUT - or will be no good anyway. Garbage collection would have been done on the session - UNLESS if some one change it to a larger number in php.ini ....ie changed: session.gc_maxlifetime = 1440

    That 24 mins also means if your idle for that long you have to re-login - if your editing in WYSIWYG editor - NOTHING is passed to the server until you "submit" your changes....hence you could lose your edit.....

    Threat? Only if they have a network sniffer and is actively trying to get into your site....oh then they would have sniffed out the ADMIN user/pass anyway.

    Likely - NOT. Possible? Maybe. Chances - VERY REMOTE. Password hacking would be faster/easier......and no needing to be connected downstream of you.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  4. #4
    New Member
    Join Date
    Aug 2008
    Posts
    17
    Rep Power
    0


    Default Re: Seucrity Threat? Register Global On

    oh thx...
    so the ID only work for 24 mins.....its good enough....
    btw...once I know the ID....I can use it within 24 mins....no matter the admin have changed the pw already.... (well.....not a threat for me....)

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Seucrity Threat? Register Global On

    Quote Originally Posted by ryoyin View Post
    oh thx...
    so the ID only work for 24 mins.....its good enough....
    btw...once I know the ID....I can use it within 24 mins....no matter the admin have changed the pw already.... (well.....not a threat for me....)
    Close - not quite. It works as long as you keep the session alive -- 24 hours a day (in theory) if you want. It will EXPIRE after you log out or of 24 mins of inactivity. IE - you have a "feature" installed in the browser to "refresh" the screen after a set time. This will keep the session alive for ever...

    Just like the LOST tv show..... every 20 mins press the key....
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  6. #6
    New Member
    Join Date
    Aug 2008
    Posts
    17
    Rep Power
    0


    Default Re: Seucrity Threat? Register Global On

    nono, I can use the same ID on another PC without login
    url.com: Search with Many
    I sent this link to other PC....and I can view the orders page without login..

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Seucrity Threat? Register Global On

    Right because the session is still logged in. That is how sessions work. Expire the session by logging out on one machine, and it will no longer work on the other.

    What you describe is called session hijacking, by the way and it is nothing new, nor is it anything to be too terribly concerned about. If you are really nervous about it, simply add .htaccess password protection or limit IP access to your admin directory. Then, even if someone has the session, they still also need to have a password or valid IP just to access the directory.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    New Member
    Join Date
    Aug 2008
    Posts
    17
    Rep Power
    0


    Default Re: Seucrity Threat? Register Global On

    I added .htaccess pw protection now
    thx ya Michael

Similar Threads

  1. Register Globals
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-03-2007, 09:21 AM
  2. register global
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-09-2007, 04:50 PM
  3. OScommerce Security Threat Program/Service Available?
    By stewj1 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-20-2004, 11:14 PM
  4. USPS problem w/ global priority rates
    By kfree in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 11-16-2003, 02:38 PM
  5. Making a Global Option for all Products
    By nrwalker in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-05-2003, 09:35 PM

Bookmarks

Posting Permissions

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