Looks like simpler Java frameworks are on the rise now ( http://www.pippo.ro/ , http://sparkjava.com/ , http://www.rapidoid.org/ )
Blade: a Java Web Framework
11–20 of 61 posts
Re: Blade: a Java Web Framework
#12Earlier quoted context omitted.
You mean: as framework creator you should make your documentation reflect the latest security standards right? Just to make sure.
I think dodyg's point is more that someone using MD5 as a password hash is unlikely to have created a modern, secure, well-designed framework. If there's a problem as significant as poor password security then there's very likely to be other more subtle problems as well.
Brute forcing md5 is easier than some other hashing algo because of collisions?
(And I would disagree that knowing that how to properly hash passwords means that the whole framework itself is poorly designed)
Re: Blade: a Java Web Framework
#13Looks like simpler Java frameworks are on the rise now ( http://www.pippo.ro/ , http://sparkjava.com/ , http://www.rapidoid.org/ )
Re: Blade: a Java Web Framework
#14Anyway, this API is really as terse as one can get with Java. Great developer-UX job!
Re: Blade: a Java Web Framework
#15Earlier quoted context omitted.
I think dodyg's point is more that someone using MD5 as a password hash is unlikely to have created a modern, secure, well-designed framework. If there's a problem as significant as poor password security then there's very likely to be other more subtle problems as well.
As I'm not up to the current security research, what is problem with using md5 hash of name+password? Is the missing salt problem you are refering to? Brute forcing md5 is easier than some other hashing algo because of collisions? (And I would disagree that knowing that how to properly hash passwords means that the whole framework itself is poorly designed)
[0] http://security.stackexchange.com/questions/38134/what-are-r...
Re: Blade: a Java Web Framework
#16Earlier quoted context omitted.
As I'm not up to the current security research, what is problem with using md5 hash of name+password? Is the missing salt problem you are refering to? Brute forcing md5 is easier than some other hashing algo because of collisions? (And I would disagree that knowing that how to properly hash passwords means that the whole framework itself is poorly designed)
MD5 is pretty cheap to compute. According to this Stack Exchange post[0], a GPU can do billions of hashes per second, so a short/weak password would be quickly cracked. [0] http://security.stackexchange.com/questions/38134/what-are-r...
Making password checking slower is very easy if the cracker doesn't have local access. Just sleep for XXX ms at every hash check and double it for every incorrect attempt (per IP).
Re: Blade: a Java Web Framework
#17Earlier quoted context omitted.
I think dodyg's point is more that someone using MD5 as a password hash is unlikely to have created a modern, secure, well-designed framework. If there's a problem as significant as poor password security then there's very likely to be other more subtle problems as well.
As I'm not up to the current security research, what is problem with using md5 hash of name+password? Is the missing salt problem you are refering to? Brute forcing md5 is easier than some other hashing algo because of collisions? (And I would disagree that knowing that how to properly hash passwords means that the whole framework itself is poorly designed)
Re: Blade: a Java Web Framework
#18JAX-RS has a nice API without much boilerplate and it is more powerful than most "micro web frameworks".
Re: Blade: a Java Web Framework
#19Earlier quoted context omitted.
MD5 is pretty cheap to compute. According to this Stack Exchange post[0], a GPU can do billions of hashes per second, so a short/weak password would be quickly cracked. [0] http://security.stackexchange.com/questions/38134/what-are-r...
If someone has local access then it's easy to crack any passwords (of any hashing algo). However if the cracker has local access and/or full access to DB then weak password hashing is one of the least problems.. Making password checking slower is very easy if the cracker doesn't have local access. Just sleep for XXX ms at every hash check and double it for every incorrect attempt (per IP).
Re: Blade: a Java Web Framework
#20Earlier quoted context omitted.
I think dodyg's point is more that someone using MD5 as a password hash is unlikely to have created a modern, secure, well-designed framework. If there's a problem as significant as poor password security then there's very likely to be other more subtle problems as well.
As I'm not up to the current security research, what is problem with using md5 hash of name+password? Is the missing salt problem you are refering to? Brute forcing md5 is easier than some other hashing algo because of collisions? (And I would disagree that knowing that how to properly hash passwords means that the whole framework itself is poorly designed)
The point is it's achievable. If someone gets a dump of the database it can be turned back in to usable accounts. If you use something much slower they can't. There's no benefit to using MD5. On the other hand, using a better hashing algorithm protects user's passwords from brute force attacks. Why wouldn't you want that?
Quite a good article about cracking a well designed database of bcrypt'd passwords - http://arstechnica.com/security/2015/08/cracking-all-hacked-...