Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Weak Cryptography

A weak cryptography vulnerability occurs when an application uses outdated, poorly designed, or insufficient cryptographic algorithms, protocols, or implementations to protect sensitive data. This makes it easier for attackers to break encryption, steal data, or compromise systems.

Weak cryptography refers to the use of:

  • Outdated algorithms, such as MD5, SHA-1, DES, RC4
  • Short or predictable keys, such as 40-bit encryption, hardcoded keys
  • Insecure protocols, such as SSLv2, SSLv3, early TLS versions
  • Poor randomness, such as using rand() instead of random\random_bytes()
  • Improper implementations, such as ECB mode in block ciphers, custom cryptography.

Documentation

See Also