In-depth lesson · Crypto
Root causes
Every point the Crypto reports back under this heading, best-backed first, each with the reports it is seen in.
-
SSH backends were written without a host key verification callback or known hosts handling, so the state machine went straight from connection to transfer.
Seen in 4 reports
-
Session cache keys omitted part of the connection identity (signature algorithms, native CA store, SSL context callback), so sessions were resumed across different trust settings.
Seen in 3 reports
-
Verification code checked whether a status response was present rather than whether the status inside it was good, so revoked or failed cases were never reached.
Seen in 3 reports
-
A flag that skipped the OpenSSL OCSP check assumed the Apple trust path enforced OCSP, but that path only sees a stapled response when one is present.
Seen in 3 reports
-
The encryption routine used AES in CFB mode without authentication, so ciphertext integrity was never verified.
Seen in 2 reports
-
The client trusted the public key supplied by the server when adding a device and never checked that the device's private key corresponded to the previously stored public key.
Seen in 2 reports
-
Hostname verification was guarded by a check for the presence of a server name indication, so connections by IP address skipped the certificate host check.
Seen in 2 reports
-
The TLS handshake logic accepted a ChangeCipherSpec message at the wrong time, causing both sides to derive an empty master key.
Seen in 1 report
-
OpenSSL accepted Diffie-Hellman parameters based on non-safe primes without checking the subgroup order and did not enforce single-use DH exponents.
Seen in 1 report
-
The padding check was rewritten to be constant-time but failed to verify that the input contained enough data for both the MAC and padding bytes.
Seen in 1 report
-
The application used a naive hash construction of secret concatenated with message instead of a secure HMAC, allowing length extension attacks.
Seen in 1 report
-
The gem library used different tar entry selection logic for verification (last entry wins) and extraction (first entry wins).
Seen in 1 report
-
$1,000 Medium
-
-
The request signature did not include the request payload and the replay-protection cache expired before the accepted timestamp window closed.
-
The client accepted a new receiver public key without first proving the sender could decrypt an encrypted acknowledgement.
Seen in 1 report
-
The JWE specification omitted guidance on validating elliptic curve points, allowing invalid curve attacks.
Seen in 1 report
-
The deployment reused a default DTLS certificate and private key published with an open-source project instead of generating a unique pair.
Seen in 1 report
-
The SSL module did not include the signature verification resource in the resource list passed to the crypto library, so certificate signatures were never validated.
Seen in 1 report
-
The code handling the rejectUnauthorized option checked only whether the value was exactly false rather than whether it was false or undefined.
-
The Flask session secret key was weak or guessable, allowing an attacker to sign arbitrary session data.
Seen in 1 report
-
The parser applied URL decoding to cookie names, so an encoded name could normalise to a security-prefixed name and be merged with the genuine cookie.
Seen in 1 report
-
The validation step was placed before the character shuffle, so the checked value and the issued value were not the same string.
Seen in 1 report
-
The key-generation code assumed the entropy source always succeeded and always produced cryptographically strong output without verifying either condition.
Seen in 1 report
-
The RSA decryption implementation did not run in constant time across all padding modes, leaking timing differences.
Seen in 1 report
-
The data hash was computed over an unencoded concatenation of transaction bytes, so transaction boundaries were not committed to.
Seen in 1 report
-
High
-
-
The application password was compared with a strict equality operator instead of a constant-time comparison function.
Seen in 1 report
-
The signature extractor assumed the signature header was the last header and ended the signed block at the first blank line rather than at the end of the signature, so trailing headers were folded into the signed data.
Seen in 1 report
-
The legacy Apple trust path compared an OS status code against trust result enum values instead of examining the actual trust result, leaving the result as success.
-
The application was deployed with a default, guessable framework secret key instead of a random one, so session cookies could be forged.
Seen in 1 report
-
The token generator used a pseudo-random function seeded by a low-resolution system clock, giving a small set of predictable seeds.
Seen in 1 report
-
The masking key was generated once at connection start and reused for every frame instead of being regenerated per frame.
Seen in 1 report
-
The verifier decoded the amount from the encrypted metadata and summed it without recomputing the commitment to compare against the on-chain output.
Seen in 1 report
-
The wallet treated a syntactically valid address as acceptable even when DNSSEC validation failed, applying it alongside a warning.
-
The verifier did not pin the signing algorithm, so it accepted an HMAC token signed with the public key used as the secret.
Seen in 1 report
-
The signature covered only part of the request, omitting the endpoint and payload, so signed requests could be altered.
-
Invitation tokens were generated with insufficient entropy, making them brute forceable by anyone who knew an invitation was pending.
Seen in 1 report
-
The fallback socket pair relied on a short shared secret sent over a briefly open listening socket, which a local attacker could guess or read.
Seen in 1 report
-
The chain was built without a requested usage constraint and without a follow-up policy check, so extended key usage was never evaluated.
Seen in 1 report