Author

Topic: PHPSESSID showing in URL field (Read 3229 times)

full member
Activity: 196
Merit: 100
Web Dev, Db Admin, Computer Technician
June 11, 2012, 01:42:17 AM
#7
There is another way to see PHPSESSID without working so hard.

Go here:
https://50.97.137.52
Accept security exceptions.
Enjoy.
riX
sr. member
Activity: 326
Merit: 252
June 10, 2012, 02:29:45 PM
#6
Ok then, I'm just paranoid Tongue
administrator
Activity: 5166
Merit: 12850
June 10, 2012, 01:59:57 PM
#5
Also, might it not get transferred in the referrer?

Most browsers don't send referrers for HTTPS sites.
riX
sr. member
Activity: 326
Merit: 252
June 10, 2012, 05:36:34 AM
#4
Yes, I wasn't thinking about mitm-attacks, more like that it's visible on the screen, and also that people might be posting links including their session id. Example: https://bitcointalksearch.org/topic/m.703356
Also, might it not get transferred in the referrer?

I'm getting this with cookies enabled..
member
Activity: 70
Merit: 10
June 08, 2012, 05:22:21 PM
#3
Using firefox:
go to PM inbox (tab1)
open new tab with bitcointalk (tab2)
logout in tab 2
go to tab 1, refresh page
you'll see warning+password prompt in tab 1
login again in tab 2
go back to tab 1, clock "home" link
watch url field, it will include PHPSESSID=aabbccddee112233445566778899

Feels like a potential security risk to me, might be hard to exploit but anyway...

Also, can anyone reproduce this, I've only tried on one computer, otherwise it might not be a problem.

Hi, this is not an security issue. The easiest way to replicate this is to disable cookies, which then the forum software tries to have your session id stored through a query string to maintain a stateful browsing experience.

If you have cookies enabled, the session id will be stored in the header "Cookie" which gets passed every request you make. From a security standpoint, this makes no difference as the session id is passed either way, whether you do or do not have cookies enabled.

Plus, your connection to the forum is encrypted, improbable for a man in the middle attack to steal your session id and login as you.
legendary
Activity: 1372
Merit: 1007
1davout
June 08, 2012, 04:32:33 PM
#2
That's hardly a security issue since it gets transmitted with HTTPS.
riX
sr. member
Activity: 326
Merit: 252
June 08, 2012, 03:42:36 PM
#1
Using firefox:
go to PM inbox (tab1)
open new tab with bitcointalk (tab2)
logout in tab 2
go to tab 1, refresh page
you'll see warning+password prompt in tab 1
login again in tab 2
go back to tab 1, clock "home" link
watch url field, it will include PHPSESSID=aabbccddee112233445566778899

Feels like a potential security risk to me, might be hard to exploit but anyway...

Also, can anyone reproduce this, I've only tried on one computer, otherwise it might not be a problem.
Jump to: