This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21707 - cookies sent back to non-originating server, security concerns/failed logins
Summary: cookies sent back to non-originating server, security concerns/failed logins
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 3.x
Hardware: PC Other
: P2 blocker with 1 vote (vote)
Assignee: support
URL: http://www.netbeans.org/servlets/Proj...
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 10:43 UTC by tveimo
Modified: 2009-11-08 02:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
looping http headers (46.36 KB, text/plain)
2006-06-29 13:58 UTC, jcatchpoole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tveimo 2002-03-19 10:43:36 UTC
Even if it reports a successfull login, the netbeans.org site asks me to log in
again when I want to report a bug, change my preferences, etc.
Comment 1 tveimo 2002-03-26 13:55:14 UTC
This happens when I set my preference privacy settings to "only accept
cookies from originating site".

This is a very common setting by expert users, since it avoids
tracking by web page advertisers using cookies.
Comment 2 jcatchpoole 2002-03-26 14:28:11 UTC
This sounds like the same problems reported in issue 10478
and issue 16973.  The explanation from Taska in 16973 says 

"This is occuring becuase our system is set
up to be stretchable across several servers... for 
example, a seperate
file server and webserver (or multiple webservers).  The 
cookie, which
is given to you by the webserver, needs to go back to the 
fileserver.
 In some cases, these are the same machine; in other 
cases, not."

Collab, since this issue keeps coming up, is there any 
other soloution possible ?
Comment 3 Taska 2002-03-28 22:38:48 UTC
The short answer is, no, not with the question as stated.  The long
answer is, you're welcome to submit a seperate defect saying that
cookies are sent back to servers other than the originating server,
which causes high-security clients to have issues.  I'm not sure what
the engineers will have to say about that, but it can't hurt to ask.
Comment 4 jcatchpoole 2002-03-29 12:32:54 UTC
Reopening, and changing summary as Taska suggested.

The fact that cookies are potentially returned to a non-
originating server means clients who have these kind of
cookies disabled in browsers cannot use nb.org reliably -
logins, sessions, downloads all fail or act strangely.  
When this happens it is doubly confusing as the cause is
not apparent - login will work first time for eg, but if 
you happen to submit a bug on another module website you
need to login again.

I personally use this cookie setting, and from other bug
reports I think there are quite a few others who do so 
also.

Is there an alternative ?
Comment 5 tveimo 2002-03-29 12:38:29 UTC
I think that if the server is set up correctly, it should catch the
cookie not being set, and use URL rewriting.

There might be a hack made so that the server doesn't correctly pick
up the cookie not being set.
Comment 6 Taska 2002-03-29 16:20:35 UTC
Okay, we'll pass this on.
Comment 7 Taska 2002-04-01 16:36:55 UTC
I've submitted this request to the engineering group (PCN8938).
Comment 8 Taska 2002-04-17 19:39:42 UTC
Our engineering folks have set a target of SC1.3 for this.
Comment 9 Taska 2002-05-17 20:12:47 UTC
Administrative Change; SC1.3 has been renamed SC2.0.

Comment 10 Taska 2002-05-17 20:13:04 UTC
Correcting typo.
Comment 11 kat 2002-05-24 00:00:10 UTC
The target for this issue has been moved to Truckee.
Comment 12 jcatchpoole 2002-06-14 16:47:48 UTC
*** Issue 16973 has been marked as a duplicate of this issue. ***
Comment 13 jcatchpoole 2002-06-14 16:49:14 UTC
*** Issue 19693 has been marked as a duplicate of this issue. ***
Comment 14 jcatchpoole 2002-06-17 11:26:35 UTC
Not sure if this is useful, but it certainly illustrates
the problem.  I just logged in on www.nb.org/.  I go to
this page :

http://contrib.netbeans.org/servlets/ProjectDownloadList

I'm trying to check the links of the most recent 
contributions.  I can download this file - 

http://contrib.netbeans.org/servlets/ProjectDownloadList?
action=download&dlID=176

but when I click on the very next file in the list -

http://contrib.netbeans.org/servlets/ProjectDownloadList?
action=download&dlID=148

I simply get another copy of the ProjectDownloadList html
page.  Browser is IE5.5/Win2k, "medium" security settings
(cookies enabled, per-session cookies enabled).

Hmm, I just checked in N4.7, where I have "accept only 
cookies sent back to originating server" - regardless of
where I log in (www or contrib.nb.org), all downlaods links
work.  That is not what I expected.

How far out is "Truckee" ?  This issue is increasingly 
becoming a problem ...
Comment 15 kat 2002-06-17 22:33:31 UTC
The Truckee release is expected for early next year. I will add your
comments to the internal issue.
Comment 16 tom lambrechts 2002-06-18 10:18:38 UTC
I get the same thing, it just returns a copy 
of the download list, only my internet 
security setting are set to low and accept all 
cookies.
Comment 17 jcatchpoole 2002-07-08 12:15:19 UTC
*** Issue 25359 has been marked as a duplicate of this issue. ***
Comment 18 jcatchpoole 2002-07-08 12:19:17 UTC
More and more becoming a problem.  Upping priority.

I recently browsed all cookies on my machine; of all of 
them, netbeans.org was the only one to have host-specific 
cookies (ie valid only on eg www.netbeans.org) instead of
domain wide (eg .netbeans.org).  As I understand it, that
is the root problem here ? 
Comment 19 kat 2002-07-08 20:46:07 UTC
That does seem to be the issue, I have contacted engineering for any
updates on this.
Comment 20 jcatchpoole 2002-07-12 09:42:23 UTC
*** Issue 25565 has been marked as a duplicate of this issue. ***
Comment 21 Unknown 2002-08-21 00:43:33 UTC
This fix has been assigned to the Truckee1 release of 
SourceCast. During the upgrade to that release we can 
verify this issue or reopen if necessary.
Comment 22 Unknown 2004-10-13 09:55:26 UTC
Updating whiteboard..
Comment 23 Unknown 2004-10-13 09:56:12 UTC
oops..reopening to keep this in the same status as before..
Comment 24 Unknown 2004-10-13 09:56:33 UTC
again...
Comment 25 Unknown 2004-10-18 07:33:23 UTC
Changing Target Milestone to CEE 2.6.2
Comment 26 jcatchpoole 2005-10-25 10:15:22 UTC
This is apparently not fixed.  Trying to download a file from
http://3rd-party.netbeans.org/ results in the same looping problem described here.  

Yet another issue supposedly fixed in our current release of SC, but apparently
not, because it was closed and hidden from sight ?
Comment 27 jcatchpoole 2006-01-23 15:41:09 UTC
*** Issue 71662 has been marked as a duplicate of this issue. ***
Comment 28 Unknown 2006-05-25 00:20:44 UTC
Downloads are now through a separate download server and the CEE is placed 
behind cache servers; please confirm if this behavior is still seen.
Comment 29 jcatchpoole 2006-05-26 12:56:46 UTC
All downloads discussed here are from SourceCast's Documents & Files servlet,
which  are served from www, not the new downloads server.  Yes, this is still a
problem, and is still occurring.
Comment 30 Unknown 2006-06-07 17:03:22 UTC
Cleaning up the milestones.
Comment 31 jcatchpoole 2006-06-29 13:57:27 UTC
Not clear if this is just got worse or not, I just got a few reports of the
looping problem.  I'll attach the output of Firfox's Live HTTP Headers when I
try to download this file
http://www.netbeans.org/files/documents/4/589/CopyClass.zip
Comment 32 jcatchpoole 2006-06-29 13:58:17 UTC
Created attachment 31507 [details]
looping http headers
Comment 33 jcatchpoole 2006-06-29 15:35:34 UTC
Looks like something changed, perhaps due to recent outages/patches etc, as none
of the files in the ProjectDocumentList appear to be working right now - all of
them give the looping error.  We're getting a lot of reports from users hitting
this problem right now.
Comment 34 Unknown 2006-06-29 16:11:47 UTC
Hi Jack,

I have updated the engineers about the issue and will get back to you as soon as
this gets resolved.

Regards,
Jeeva
Support Operations
Comment 35 Unknown 2006-06-29 16:13:05 UTC
Updating status whiteboard.

Regards,
Jeeva
Support Operations
Comment 36 jcatchpoole 2006-06-30 12:26:52 UTC
Ping ... we are getting a constant stream of complaints from users unable to
download files .... this really is a P1 for us.
Comment 37 Unknown 2006-06-30 15:24:55 UTC
Hi Jack,

Collab would require a downtime of around 20 to 30 minutes to fix this issue.
Please let us know your convenient timing (we would prefer to do it asap).

P.S: tried to reach you in your mobile, but was just fortunate enough to reach
the voice mail.

Regards,
Jeeva
Support Operations
Comment 38 jcatchpoole 2006-06-30 15:29:26 UTC
You got voicemail bcs I am calling internal ppl trying to arrange a downtime.

While this is a P1, the site going down in the middle of the day (even for just
20min) is a bigger P1, so we would prefer to schedule at some less busy time. 
Current suggestion is 10pm PST.  Earlier than this will disrupt milestone build
currently running; later than this will (probably) disrupt significan CVS work
planned for this weekend (see extranet issue 51).

I'm still trying to confirm 10pm is suitable; will call back when I find out.
Comment 39 jcatchpoole 2006-06-30 15:54:58 UTC
Confirmed, 10pm Pacific time would be best for us for this outage.  I will
notify the community of the issue also.  Pls verify.
Comment 40 Unknown 2006-07-01 02:42:54 UTC
Jack 

  The issue related to looping has been resolved we are able to download the
files available in the link given below 
 http://www.netbeans.org/servlets/ProjectDocumentList


Please confirm the same .
Comment 41 Unknown 2006-07-11 21:43:01 UTC
Downgrading the priority. Back to the original issue.
Comment 42 jcatchpoole 2006-07-12 12:40:46 UTC
I am able to download the files that were previously looping for me.  I assume
the most recent issue is indeed fixed.  

Do we know if the fix will also have addressed the original problem (which only
seemed to affect a small set of users) ?
Comment 43 Unknown 2006-07-17 22:31:05 UTC
Jack, I am not able to reproduce the original issue. True, some redirects on 
the Docs & Files area are handled better now, so there is a possibility that 
it might fix the original issue as well.

Unless the users can provide some liveHTTPheaders when they encounter this, I 
am inclined to close this.
Comment 44 jcatchpoole 2006-07-25 12:12:33 UTC
Well if you look at the history of this issue (and its duplicates), it was never
easy to reproduce.  However, agreed, without move detail (eg livehttp headers)
not much to can do here.  Will reopen with details if I hear of it again.
Comment 45 jcatchpoole 2006-07-25 12:12:46 UTC
x
Comment 46 Unknown 2006-09-13 18:38:39 UTC
Marking as verified

Thanks,
Kavitha
Support Operations
Comment 47 Marian Mirilovic 2009-11-08 02:29:47 UTC
We recently moved out from Collabnet's infrastructure