PiWallet uses insecure hashing and has SQL Injection vulnerabilties
The application stores user passwords using the MD5 hashing algorithm, which is considered insecure. An attacker who obtains the password hashes could crack them more easily, especially because the input is processed with strip_tags before hashing.
github.com
Published on github.com
piWallet uses an insecure hashing algorithm to store user passwords, plain MD5. It's weakened by the fact striptags() is being run on the plaintext password (why?).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application uses MD5, a fast and outdated hashing algorithm, without a salt or key stretching, and additionally applies strip_tags to the password before hashing.
What the attacker needed
Access to password hashes
The fix
The application should switch to a strong, slow password hashing algorithm such as bcrypt.
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 write-up has not been written yet. The Original tab links to the source.
Passwords should never be stored in a way that can be easily reversed. MD5 is a fast hashing function that attackers can use to quickly guess the original password from a stolen hash. The report also notes that the password is passed through strip_tags, which removes some characters and reduces the password's complexity.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.