Author Topic: How to crack a site...  (Read 1078 times)

Ramsus

  • Guest
How to crack a site...
« on: June 10, 2006, 08:15:22 am »
How to set up your own session fixation attack in five simple steps:

Step 1
Find a forum that puts session IDs in the URLs for guest users.

Step 2
Put an image in your sig runs a script that logs the IP address and referrer of everyone who sees it.

Step 3
Find an IP address that has both URLs with session IDs on them (thus guest users) and URLs without session IDs (probably logged in, setting their session ID in a cookie).

Step 4
Set the session ID with a fake cookie or by adding it to the URL.

Step 5
If you're now logged in as them, it worked. If not, try attacking some other forum software.


Why did I write that? Because I'm sick of "PHP Programmers" and "Web developers" who aren't even smart enough to reset the session ID every time a user changes their credentials (i.e. logs in), yet they think they know a thing or two about security and like to go on about how this script is more secure than that script.

Damn fools.

Lord J Esq

  • Moon Stone J
  • Hero of Time (+5000)
  • *
  • Posts: 5463
  • ^_^ "Ayla teach at college level!!"
    • View Profile
Re: How to crack a site...
« Reply #1 on: June 10, 2006, 08:58:53 pm »
Admit it, spinach brain, you're just jealous that Lord J's Third Party Phantasmagorium PHP Emporium.com gets all the traffic.

Exodus

  • Acacia Deva (+500)
  • *
  • Posts: 506
  • How do we know we exist?
    • View Profile
Re: How to crack a site...
« Reply #2 on: June 11, 2006, 04:58:10 am »
Har har.

You know what's worse? Somebody will read this, not catching that you've already started resetting session IDs and will thus try it on these forums.

Burning Zeppelin

  • God of War (+3000)
  • *
  • Posts: 3137
    • View Profile
    • Delicate Cutters
Re: How to crack a site...
« Reply #3 on: June 11, 2006, 06:31:43 am »
I'm all for Angsty McAngst rants, but are you sure you should've put this on? I mean, we could get in a lot of trouble for this...












Hehe.