Skip to content

In-depth lesson · Crypto

Typical fixes

Every point the Crypto reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 51 to 97 of 97
  1. Encrypt and sign the __VIEWSTATE parameter.

    Seen in 1 report
  2. Check that the certificate serial number in the stapled OCSP response matches the peer certificate.

    Seen in 1 report
  3. Handle CRLs passed via CApath correctly.

    Seen in 1 report
  4. Do not match IP address literals in the certificate Common Name.

    Seen in 1 report
  5. Validate the SMTP server certificate and hostname.

    Seen in 1 report
  6. Use adequate key size and a secure cryptographic mode in NTLM.

    Seen in 1 report
  7. Do not carry the Proxy-Authorization header to a new host on a redirect.

    Seen in 1 report
  8. Publish correct SHA512 checksums for releases.

    Seen in 1 report
  9. Validate SSL certificates in the desktop client's registration flow.

    Seen in 1 report
  10. Do not send credentials to the metalink server.

    Seen in 1 report
  11. Treat rejectUnauthorized undefined as true rather than false.

    Seen in 1 report
  12. Use a strong, randomly generated session signing key.

    Seen in 1 report
  13. Do not URL-decode cookie names during parsing.

    Seen in 1 report
  14. Validate the certificate chain of trust correctly.

    Seen in 1 report
  15. Compare the SSH host public key SHA256 correctly.

    Seen in 1 report
  16. Treat message verification failures as fatal during FTP-KRB transfers.

    Seen in 1 report
  17. Transmit user info over an encrypted connection.

    Seen in 1 report
  18. Validate the final password after shuffling, not before.

    Seen in 1 report
  19. Fix the OOXML signature verification to prevent forgery.

    Seen in 1 report
  20. Address security and privacy failures in 2FA apps.

    Seen in 1 report
  21. Patch the Windows CryptoAPI spoofing vulnerability.

    Seen in 1 report
  22. Fix the cryptographic misuse in Azure B2C JWT handling.

    Seen in 1 report
  23. Fix OpenSSL error handling in the Node.js crypto library.

    Seen in 1 report
  24. Fix the key recovery vulnerability in the MEGA client.

    Seen in 1 report
  25. Fix buffer overflows in SHA-3, SHAKE and EdDSA implementations.

    Seen in 1 report
  26. Fix the denial of service in the iOS group chat.

    Seen in 1 report
  27. Use a consistent encoding when calling String.getBytes.

    Seen in 1 report
  28. Fix the IDN wildcard matching logic.

    Seen in 1 report
  29. Regenerate the private key when generateKeys is called after setting a key.

    Seen in 1 report
  30. Encrypt sensitive data handled by the payment gateway.

    Seen in 1 report
  31. Encrypt keypresses before sending them over the network.

    Seen in 1 report
  32. Encrypt client secrets stored in the database.

    Seen in 1 report
  33. Fix the cryptographic issues in the digital ID app.

    Seen in 1 report
  34. Do not use Go's lagged Fibonacci generator for security-sensitive values.

    Seen in 1 report
  35. Review and fix the custom disk encryption modifications.

    Seen in 1 report
  36. Mitigate downgrade and prefix truncation attacks in SSH.

    Seen in 1 report
  37. Make RSA decryption run in constant time across all padding modes.

    Seen in 1 report
  38. Include transaction boundaries in the block data hash.

    Seen in 1 report
  39. End the signed data at the end of the signature block rather than at the first blank line, and reject headers after it.

    Seen in 1 report
  40. Generate invitation tokens with a cryptographically secure random source and sufficient length.

    Seen in 1 report
  41. Deploy with a random, high-entropy framework secret key rather than a default value.

    Seen in 1 report
  42. Pass a requested usage constraint and run the SSL policy check when building the chain.

    Seen in 1 report
  43. Pin the accepted signing algorithm and reject tokens whose algorithm does not match the key type.

    Seen in 1 report
  44. Recompute the commitment from the decoded amount and compare it to the on-chain output commitment before summing.

    Seen in 1 report
  45. Withhold a resolved address when DNSSEC validation fails instead of applying it with a warning.

    Seen in 1 report
  46. Generate a fresh unpredictable masking key for every frame.

    Seen in 1 report
  47. Use a cryptographically secure random source rather than a clock-seeded pseudo-random function.

    Seen in 1 report