Legal Robot · Report #260689
Weak Cryptography for Passwords
Informativestatus
1upvotes
21 Aug 2017disclosed
How it was found
Hi Team,
I saw while creating new account.Password is being encrypted that's good best practice.
But Issue is:
- It is showing in the request What type of encryption(Algorithm) is used in request.
- I copied the encrypted password and past it online tool http://md5decrypt.net/en/Sha256/ and i was successfully able to decrypt.
As per owasp Rule you should not use Sha256 These algorithms are considered weak.
Link : https://www.owasp.org/index.php/Guide_to_Cryptography
Step To Reproduce:
- Resister mew account in https://app.legalrobot.com/.
- Capture the request in burpsuite tool.
- Copy the encrypted password and paste in online tool http://md5decrypt.net/en/Sha256/ it will successfully decrypt the password.
Mitigation.
- Which encryption(Algorithm) it should be displayed in the request.
- Use strong encryption so that Man in middle attack should not be able to decrypt password.
I have attached Poc.
Tej