Page 1 of 1

MD5 hashing

Posted: Thu Mar 16, 2017 2:44 pm
by iamkdenok
On this website's main page, https://vestacp.com/
The below statement is said.
Linux Passwords

Our password implementation relies on the Linux PAM authentication mechanism which employs MD5 hashing, to provide unique and secure passwords.
MD5 is not secure and wasn't for a long time, especially for passwords!

Read below.
Security

The security of the MD5 hash function is severely compromised. A collision attack exists that can find collisions within seconds on a computer with a 2.6 GHz Pentium 4 processor (complexity of 224.1).[17] Further, there is also a chosen-prefix collision attack that can produce a collision for two inputs with specified prefixes within hours, using off-the-shelf computing hardware (complexity 239).[18] The ability to find collisions has been greatly aided by the use of off-the-shelf GPUs. On an NVIDIA GeForce 8400GS graphics processor, 16–18 million hashes per second can be computed. An NVIDIA GeForce 8800 Ultra can calculate more than 200 million hashes per second.[19]

These hash and collision attacks have been demonstrated in the public in various situations, including colliding document files[20][21] and digital certificates.[22] As of 2015, MD5 was demonstrated to be still quite widely used, most notably by security research and antivirus companies.[23]
Source: https://en.wikipedia.org/wiki/MD5#Security

Also consider reading this
MD5 for passwords

Using salted md5 for passwords is a bad idea. Not because of MD5's cryptographic weaknesses, but because it's fast. This means that an attacker can try billions of candidate passwords per second on a single GPU.

What you should use are deliberately slow hash constructions, such as scrypt, bcrypt and PBKDF2. Simple salted SHA-2 is not good enough because, like most general purpose hashes, it's fast. Check out How to securely hash passwords? for details on what you should use.
Source: https://security.stackexchange.com/ques ... d-insecure

Any thoughts on this?

Re: MD5 hashing

Posted: Fri Mar 17, 2017 6:42 am
by skurudo
You're really think linux pam passwords not secure?

Re: MD5 hashing

Posted: Fri Mar 17, 2017 10:38 am
by skurudo
Site info updated! ;-)

md5 only on old distro like centos 5 / debian 6

Code: Select all

root@r6 ~]# authconfig --test|grep hashing