CWE-327: Use of a Broken or Risky Cryptographic Algorithm
3 real-world CVEs classified as CWE-327: Use of a Broken or Risky Cryptographic Algorithm. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2019-9506high 8.12019
KNOB: Bluetooth key negotiation can be forced to one byte
Unauthenticated BR/EDR key-length negotiation let an adjacent man-in-the-middle rewrite both controllers' proposals to one octet of entropy, reducing the session key to 256 candidates before encryption began.
- CVE-2019-6485medium 5.92019
Zombie POODLE: TLS CBC checks only the padding length byte
Affected Citrix TLS endpoints removed CBC padding according to the final byte without validating that every claimed padding byte matched it. An on-path attacker could distinguish accepted modified records and recover aligned plaintext bytes.
- CVE-2015-4000low 3.72015
Logjam: 512-bit export DH accepted as ordinary DHE
TLS did not bind the export status of signed Diffie-Hellman parameters strongly enough, and vulnerable clients accepted a 512-bit export group after an active attacker rewrote the cipher-suite negotiation.