PADDING ORACLE ATTACK
- This kind of attack exists because of the cryptographic padding that takes place on the message length.
- Padding oracle attacks also known as vaudenay attacks – were originally published in 2002 by serge vaudenay. And got famous in 2010 .
- What is it ?
Possible to decrypt and encrypt data without key in cbc(cipher block chaining) mode
- The application verifies whether the encrypted value is properly padded or not.
When the application passed an encrypted value it responds
with one of three ways:
- valid ciphertext (with proper padding) – normal response
- invalid ciphertext (improper padding - exception
- valid ciphertext and decrypts to an invalid value – custom error
- wrong padding can result in :error messagestack tracestime differencedifferent responses
PREPARED BY :
CHIRAYU PANDIT
No comments:
Post a Comment