Skip to content
Crypto Disclosed report Beginner

Weak Cryptography for Passwords

The report says the request reveals the hashing algorithm and that the password hash can be reversed with an online tool.

tejpratap Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 5 days

Hi Team,

I saw while creating new account.Password is being encrypted that's good best practice.

But Issue is:

  1. It is showing in the request What type of encryption(Algorithm) is used in request.
  2. 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:

  1. Resister mew account in https://app.legalrobot.com/.
  2. Capture the request in burpsuite tool.
  3. Copy the encrypted password and paste in online tool http://md5decrypt.net/en/Sha256/ it will successfully decrypt the password.

Mitigation.

  1. Which encryption(Algorithm) it should be displayed in the request.
  2. Use strong encryption so that Man in middle attack should not be able to decrypt password.

I have attached Poc.

Tej

Attachments

Decrypy.png
Decrypy.png From the original on HackerOne
Password.png
Password.png
Legal.png
Legal.png

The original report as published on HackerOne, by tejpratap. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application hashes passwords with unsalted SHA-256 on the client side and sends the hash, which is reversible via lookup tables.

Impact

Someone who intercepts the sign-up request could reverse the hash and recover the plaintext password.

What the attacker needed

Ability to intercept the sign-up request

The fix

Use a strong algorithm instead of SHA-256 so intercepted passwords cannot be decrypted.

How it was found

  1. Register a new account on the site.
  2. Capture the sign-up request with an intercepting proxy.
  3. Copy the hashed password from the request.
  4. Paste the hash into an online SHA-256 decryption tool to recover the password.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you sign up, your password should be scrambled in a way that cannot be undone. Here the reporter says the scrambling method is shown in the request and that a free website could turn the scrambled text back into the real password. That would let someone who sees the request read the password.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by tejpratap

View all

1 more disclosed report, best first.

More from Legal Robot

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.