Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2005, 08:52 PM
DanDMan DanDMan is offline
 
Join Date: Mar 2005
Location: Honolulu, HI
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Security Issue

Is it possible to force the browser to close upon logout?

The reason we are asking if this is possible is due to a potential security
breach of our vBulletin Discussion Forums.

Basically, when a user logs out, the previously viewed pages are still
cached and fully available simply by clicking the 'Back' button. I was able
to see the forums, structure, postings, even the text of sent Private
Messages... Of course all the links were dead, however the fact that the
information is still viewable is a problem.

In addition, after logging-out, the confirmation screen had a 'forum jump'
drop-down box that displayed the entire structure of the forums. This is
also a problem.

If forcing a browser close upon logout would be difficult, is there
another way to prevent the above from breaching the security of our
Discussion Forums? The seriousness of this potential security breach could
cause many of our users to be too uncomfortable to use the forums actively.

Thank you in advance...

Aloha,

Dan
Reply With Quote
  #2  
Old 03-13-2005, 09:52 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DanDMan
Is it possible to force the browser to close upon logout?

The reason we are asking if this is possible is due to a potential security
breach of our vBulletin Discussion Forums.

Basically, when a user logs out, the previously viewed pages are still
cached and fully available simply by clicking the 'Back' button. I was able
to see the forums, structure, postings, even the text of sent Private
Messages... Of course all the links were dead, however the fact that the
information is still viewable is a problem.

In addition, after logging-out, the confirmation screen had a 'forum jump'
drop-down box that displayed the entire structure of the forums. This is
also a problem.

If forcing a browser close upon logout would be difficult, is there
another way to prevent the above from breaching the security of our
Discussion Forums? The seriousness of this potential security breach could
cause many of our users to be too uncomfortable to use the forums actively.

Thank you in advance...

Aloha,

Dan
Try enabling no-cache headers.

Closing the browser will not do anything unless their Browser is made to clear all history on exit.
Reply With Quote
  #3  
Old 03-14-2005, 08:24 AM
DanDMan DanDMan is offline
 
Join Date: Mar 2005
Location: Honolulu, HI
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the very fast reply Zachery!

I am not quite sure what you mean by 'enabling no-cache headers'. How does one do that and what does it do? (I am a bit of a newbie at this)

I figured that if there was a way to at least close the browser window, casual users would be deterred from exposing anything potentially sensitive. If the window was closed, they would have to know how / where to view the cache instead of merely hitting the 'back' button.

Perhaps a combination of both closing the window and enabling the no-cache headers?
Reply With Quote
  #4  
Old 03-14-2005, 08:41 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DanDMan
I am not quite sure what you mean by 'enabling no-cache headers'.
AdminCP->vBulletin Options->Cookies and HTTP Header Options->Add No-Cache HTTP Headers: Yes

Quote:
Originally Posted by DanDMan
How does one do that and what does it do? (I am a bit of a newbie at this)
It will tell your browser not to cache pages. (so it will also increase the load on your webserver)
Reply With Quote
  #5  
Old 03-14-2005, 02:22 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
AdminCP->vBulletin Options->Cookies and HTTP Header Options->Add No-Cache HTTP Headers: Yes


It will tell your browser not to cache pages. (so it will also increase the load on your webserver)
Its not so much of load Marco, more bandwidth than anything. However he does not want people viewing his forums cached so I see no alterntigve.
Reply With Quote
  #6  
Old 03-14-2005, 02:43 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are right, it is more a bandwidth issue, but he asked for an explanation and tried to explain as simple as possible.
Reply With Quote
  #7  
Old 03-14-2005, 06:37 PM
DanDMan DanDMan is offline
 
Join Date: Mar 2005
Location: Honolulu, HI
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MarcoH64 & Zachery,

Thank you both very much for the guidance and easy-to-understand explanation.

I will speak to our System Administrator and have him implement your suggestion immediately.

Just out of curiosity, will this also clear the issue of, after logging-out, having the 'Forum Jump' Drop-Down Box display the entire structure of the forums?

Thank you again and Aloha,

Dan
Reply With Quote
  #8  
Old 03-14-2005, 06:40 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The forum jump box respects the permissions set for each usergroup, so you will have to check the permissions on guests
Reply With Quote
  #9  
Old 03-28-2005, 06:45 PM
DanDMan DanDMan is offline
 
Join Date: Mar 2005
Location: Honolulu, HI
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that this has not solved our issue. I am still able to use the 'Back' button of the browser to view everything viewed and posted. I even tried closing the browser and rebooting the computer - when I log back in, poke around, and log out, I can see everything via the 'back' button.

Also, the 'Forum Jump' box reflects the permissions of the user that just logged out. For example, after I log out, it shows the forum structure to which I have access. If I log in as a test user, after logging-out, the 'Forum Jump' box shows the forum structure to which that account has access.

Even though the jump links are dead until a user logs in again, the display of the structure is something we would like to avoid.

Unless there is a way to make sure this doesn't happen, is there a way to force the browser to close upon logout in addition to setting the No-Cache HTTP Headers to 'yes'?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04364 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete