in reply to What if the bad-guys send nonsense as a session-id?
Let me try to explain myself a little better: as a bad-guy I notice that you'll take CGISESSIONID (or whatever) and, without further checks as to its format, use it to query the session-database.
So what if I “inject” that?
What if, instead, I post an obfuscatory value there, in hopes of breaking your session-layer? (How about a CGISESSIONID that's 1,024 characters of garbage?) Perhaps I'll be rewarded with an error-message that will tell me more about what session layer you're using. Bad-guys can download code from CPAN and inspect it at their leisure, but I sometimes wonder how much we “inspect it” ... at all?
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What if the bad-guys send nonsense as a session-id?
by shmem (Chancellor) on Dec 16, 2007 at 17:22 UTC |