(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-21-24 09:28 AM
0 users currently in Help, Suggestions, Bug Reports.
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - HTML on the reply page New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
emcee

Red Super Koopa


 





Since: 11-20-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-06-06 03:40 AM Link | Quote
Even with the filters its still very easy to steal passwords. There are several ways in IE, and at least one that I tested that works on lololol. And they're all just one simple line of code.

There's even a way of doing it that doesn't involve javascript at all. Although it's a bit more complicated.

Simple solution: Disable html in the overview of the thread shown on the reply page.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6302 days
Last view: 6302 days
Posted on 11-06-06 07:08 PM Link | Quote
I imagine some of these methods would be exploitable on pretty much any page to grab cookies. Unless you're thinking of one particular method I just thought of that would be nearly impossible to actually pull off.
Xkeeper
Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is.


 





Since: 11-17-05
From: Henderson, Nevada

Last post: 6301 days
Last view: 6301 days
Skype
Posted on 11-06-06 07:10 PM Link | Quote
I have an even simpler solution. Actually doing it is another matter entirely.
pikaguy900

Sparky


 





Since: 08-10-06

Last post: 6314 days
Last view: 6301 days
Posted on 11-06-06 09:34 PM Link | Quote
Ummm... It's easy to steal them while replying? *shudders* Why not just take away that part that has your username and password inputted to post? You could have that page simply check to see who is logged in when you post, and whoever you're logged in as, that's the username that'll appear. I know they never ask for your username when posting on any other board, even if you're logged in.
Metal Man88

Gold axe
It appears we have been transported to a time in which everything is on fire!


 





Since: 11-17-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-06-06 10:58 PM Link | Quote
Eh, I can't see it happening any time soon. Most people prefer to register en masse and post garbage... hijacked accounts, I think, are a rarity.
emcee

Red Super Koopa


 





Since: 11-20-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-07-06 03:46 AM Link | Quote
Yeah, HyperHacker is right. I could actually steal cookies right from the main page. But unlike the password on the reply page, the password in the cookie appears to be encrypted to some extent. I tried decrypting it using the function shdec from functions.php, but it didn't seem to work, maybe it's outdated.

Of course, it's not really necessary to decrypt it, all you have to do is use the cookie like it's your own. But it still wouldn't help to steal on the main page or from a post, since it would be kind of hard to determine whose cookies are whose. Instead, you could just put the code in a pm and wait for them to read it.

Maybe the best solution is to store the password in the cookie and html with one way encryption (I don't how this is done in php, but in perl it just crypt(password,salt)). Then, to validate it encrypt the password on the server the same way and compare. Then, just check the referrer to make sure it's coming from the right site. That would completely solve the problem.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6302 days
Last view: 6302 days
Posted on 11-07-06 03:52 AM Link | Quote
I think the best solution is to not store passwords in the cookie at all, but rather session IDs. Cookies store user IDs and decrypting the password is pretty easy.
emcee

Red Super Koopa


 





Since: 11-20-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-08-06 10:18 PM Link | Quote
Wouldn't that make it so you would have to constantly re-login? How would the server start a new session after the last one expired without the password?
Xkeeper
Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is.


 





Since: 11-17-05
From: Henderson, Nevada

Last post: 6301 days
Last view: 6301 days
Skype
Posted on 11-09-06 12:23 PM Link | Quote
Or I could just filter < to &lt;.

Seriously, your solutions are all crap.
emcee

Red Super Koopa


 





Since: 11-20-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-10-06 04:13 AM Link | Quote
Even in layouts?
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6302 days
Last view: 6302 days
Posted on 11-12-06 03:57 AM Link | Quote
Originally posted by emcee
Wouldn't that make it so you would have to constantly re-login? How would the server start a new session after the last one expired without the password?

It wouldn't. You'd just make them last a long time, or however long the user chooses on the login page. Despite their name, session IDs can span multiple sessions.
emcee

Red Super Koopa


 





Since: 11-20-05

Last post: 6301 days
Last view: 6301 days
Posted on 11-12-06 09:25 PM Link | Quote
Then how does that prevent people from stealing cookies and using them as their own?
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6302 days
Last view: 6302 days
Posted on 11-14-06 01:10 AM Link | Quote
Hm, you're right. Come to think of it there's really no way to prevent having to log in every session without people being able to do just that, except locking the session ID to an IP address which is no good for dynamic IPs. :-/ I figured that's what things like VBulliten and PHPBB did, but looks like they just store a user ID and password hash.
Xkeeper
Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is.


 





Since: 11-17-05
From: Henderson, Nevada

Last post: 6301 days
Last view: 6301 days
Skype
Posted on 11-14-06 06:04 AM Link | Quote
Originally posted by HyperHacker
Hm, you're right. Come to think of it there's really no way to prevent having to log in every session without people being able to do just that, except locking the session ID to an IP address which is no good for dynamic IPs. :-/ I figured that's what things like VBulliten and PHPBB did, but looks like they just store a user ID and password hash.

I was considering adding some salt to the MD5 hash the cookie stores, but I ran into that same problem -- it has to be unique to each user.

IPs would work, but then you have the dynamic IP problem.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - HTML on the reply page |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.017 seconds; used 415.34 kB (max 520.41 kB)