What does a padding oracle attack exploit?
- Errors that reveal valid padding
- Keys reused across two sessions
- Weak random number generators
- Hash collisions in the MAC check
Distinct responses for bad padding let an attacker decrypt CBC ciphertext byte by byte without the key.
Play Cybersecurity ▸