Web Security Flashcards
(2 cards)
1
Q
List five fields that are in a typical server certificate
A
- Subject: The identity of the webiste
- Issuer: The Certificate Authority that issued the certificate
- Public Key: The server’s public key, used during key exchange
- Validity Period: The start and end dates during which the certificate is valid.
- Signature: The CA’s digital signature that verifies the certificate’s authenticity.
2
Q
How did Heartbleed attack work?
A
-A client would send heartbeat request to he server, including some data and a claimed length
-The server was supposed to send back the same data
-But the OpenSSL didn’t check if the claimed data length was accurate
0An attacker could send a small amount of data and claim it was much longer
-The server would then respond with that many bytes from its memory, including private keys, passwords, or sensitive data