Bug class · Advanced
Cryptographic weaknesses
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.
- median public bounty
- $900
How it works
Full lessonThe pattern behind every report in this class.
Cryptographic weaknesses are flaws in how software uses encryption, signatures, certificates or randomness, rather than breaks of the underlying maths. In bug bounty terms they usually show up as a check that is missing, skipped or applied to the wrong thing: a TLS client that does not verify a hostname, a session cache that resumes across different trust settings, a token generator seeded from a clock. The evidence here is dominated by TLS and SSH client libraries, where certificate, hostname, OCSP and pinning checks are implemented per backend and one backend quietly disagrees with another.
Programs care because these flaws turn into interception, impersonation and account takeover. A skipped hostname check lets an attacker with any trusted certificate read or alter traffic; a session resumed across trust settings carries a weaker decision into a stronger context; a predictable token or a weak session secret lets someone forge their way in. The reports behind this lesson range from protocol-level issues in TLS stacks to application-level mistakes such as a naive hash construction or a non-constant-time comparison.
It is most often found in client-side and library code rather than in a single web endpoint: HTTP client TLS backends, SSH backends, mail clients, proxy agents, mobile apps and SDKs. It also appears in application logic that touches secrets, tokens, sessions and signatures. The common thread is that the security decision is made in one place and assumed everywhere else, so a per-backend or per-path difference is where the bug lives.
Start from the trust decision the code is supposed to make. For a TLS client that means: is this certificate chained to a trusted root, is it valid now, is it revoked, does its name match the host I meant to reach, and does its key match what I pinned. Each of those is a separate check, and the evidence shows them being implemented per backend, so the first question is which backend is in use and whether it performs all of them.
Things to try
All 248Each line worked in a disclosed report. Test only what a program's scope allows.
Other 60
- Capture traffic from a VPN client and check whether any payload leaves in plaintext towards the VPN server address.
- Check whether the encryption module enforces proper permissions and integrity protection on encrypted data.
- Search old commits and removed files in a public repository for API keys or private keys that were committed and never rotated.
- Submit a report to a program and check whether the program's scope validation can be bypassed or misapplied.
Certificate validation and hostname checks 30
- Make an HTTPS request with rejectUnauthorized set to undefined and check whether certificate validation is disabled.
- Configure mTLS and check whether certificate authentication is done correctly.
- Query the domain's CAA DNS records and check whether a Certificate Authority Authorization rule is missing.
- Connect to an IP address written with non-ASCII or non-canonical digits and check whether a certificate with a DNS name is accepted.
HSTS and transport security headers 18
- Request the login or account pages over plain HTTP and check whether the server redirects to HTTPS or serves content in cleartext.
- Intercept the service's communications and check whether HTTPS is used.
- Inspect the Content-Security-Policy header and check whether unsafe-inline is used without a nonce.
- Check whether the X-Content-Type-Options header is set to nosniff.
Session resumption and connection reuse 15
- Test whether the TLS stack is vulnerable to the triple handshake attack by checking the OpenSSL version and whether session resumption and renegotiation are handled safely.
- Test whether the server is vulnerable to TLS virtual host confusion by connecting with different SNI values and observing which certificate and session are returned.
- Resume a TLS session that was validated with the native CA store from a transfer that disabled it and check whether the session is reused.
- Change the case of a CA path and check whether the session cache bypasses the active trust profile.
SSH host keys and algorithm configuration 10
- Use a default protocol setting that selects SSH and check whether host verification is skipped.
- Connect over SFTP with a backend that has no host key callback and check whether an unknown server host key is accepted.
- Connect to the SSH server with an invalid signature and check whether it is rejected.
- Enumerate the SSH server's supported algorithms and check for vulnerable or deprecated ones.
Bypasses and variations
All 41- Requesting certificate status enforcement is silently bypassed on several backends and trust paths, so revoked certificates are accepted.
- Adding trailing dots to a host name, or importing a crafted HSTS cache, bypasses or disables the HSTS policy for that host.
- Pinning checks are skipped on some backends or protocol versions, so a different certificate or key is accepted.
- Resuming a previously validated session skips re-checking the certificate, its expiry, revocation or host identity.
- Host key verification is skipped on connection reuse, on redirects to SFTP or SCP, and when a default protocol selects SSH.
- Writing an IP address in non-canonical or fullwidth digits, or with a leading dot, causes the hostname check to treat it as a DNS name.
Typical fixes
All 115- Disable deprecated protocols such as SSLv2, SSLv3 and TLS 1.0 and enable only modern TLS versions.
- Use a constant-time comparison function for API token and HMAC verification.
- Use an authenticated encryption mode and return uniform error messages for decryption failures.
- Disable 64-bit block ciphers such as 3DES.
- Verify the certificate hostname in all TLS clients.
- Set a Strict-Transport-Security header with a sufficiently long max-age on all HTTPS responses.
Tips for beginners
All 15- Begin with the client, not the server. The richest findings here are in HTTP client TLS backends, SSH backends, mail clients and proxy agents, where checks are implemented per backend. Read the code or documentation for each backend and compare what each one verifies.
- Test hostname verification with an IP address and with a certificate for an unrelated name. A check guarded by the presence of a server name indication will pass the DNS case and fail the IP case, which is a clean, reproducible demonstration.
- Test certificate status properly. Present a stapled OCSP response that reports a revoked status, and separately request enforcement on a build that uses the Apple trust path, then check whether the connection still completes. A response being present is not the same as its status being good.
- Test session resumption across trust settings. Resume a session that was validated with the native CA store from a transfer that disabled it, or under a stricter signature algorithm policy from a permissive sibling, and see whether the weaker decision is reused.
- Test connection reuse. Reuse an existing connection for a request that requires TLS, or after changing the verify callback or SSL configuration flags, and check whether the new requirement or setting is honoured.
- Test pinning on every protocol version and backend. Supply a pinned public key that does not match the server's key over HTTP/3, and proxy mobile app traffic with a self-signed certificate, then check whether the connection succeeds.
Start here: a reading path
Open the pathClear reports in order, easiest first.
-
1
Analisi dei dump di Rousseau (Movimento Cinque Stelle) - Parte I: passwordBeginner
Likely the platform used an outdated version of Movable Type that hashed passwords with the crypt(3) function, which relies on the weak DES algorithm.
-
2
The Elderly Man, a 2009 Breach, and Four Extra KeystrokesBeginner
Likely the password was stored as unsalted MD5 and was constructed from a common leaked word with a predictable four-character suffix, making it trivial to crack with a hybrid dictionary and mask attack.
-
3
AI-Assisted Insecurity: Forging JWTs from Auto-Generated Weak SecretsBeginner
Likely the JWT signing secret was left at a default placeholder value instead of being replaced with a strong random secret.
-
4
CVE-2026-77427: How a Fail-Open Default Key Turns One File Read Into Total Secret Recovery in FileRiseIntermediate
Likely the key resolver fell back to a published default string and let the application start instead of refusing to boot, and the earlier fix only added key generation to the Docker entrypoint rather than to the shared bootstrap.
-
5
CVE-2026-86410: redirect to SFTP or SCP bypasses host verificationIntermediate
Likely the ssh_setopts() function returns early when the initial URL is not SCP or SFTP, so SSH host-verification options are never set on the handle before a later redirect switches the transfer to SFTP.
-
6
46: `--libcurl` output carries `--insecure` across `--next` boundariesIntermediate
Likely the generated code never emits curl_easy_reset() between operations, and the setopt emitter suppresses setters whose values match defaults, so a reused handle keeps earlier options.
-
7
The Full StoryIntermediate
Likely the Android app called a generic JWT parsing method that does not enforce signature verification, instead of the library's method specifically for signed tokens.
-
8
Signatures can be replayed in castVoteWithReasonAndParamsBySig() to use up more votes than a user intendedIntermediate
The signature digest in castVoteWithReasonAndParamsBySig() does not include a nonce, so the same signature remains valid for multiple calls.
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on Crypto, from around the web.
-
Don't let TEEs break your MPCTrail of Bits explains how trusted execution environments can undermine multi party computation designs and how to avoid it.
Explainer blog.trailofbits.com
-
alg:none and Friends — A JWT Hacking Field GuideField guide to JWT attacks covering the alg none bypass, weak key cracking and algorithm confusion tricks.
Cheat sheet kd-200.medium.com
-
State of Post Quantum CryptographySurveys the state of post quantum cryptography and what migration means for security teams.
Explainer wiz.io
-
Exploiting JWT vulnerabilities: A complete guideCovers common JWT flaws such as the none algorithm, key confusion, JWK spoofing and kid injection leading to path traversal or SQL injection.
Explainer intigriti.com
-
Into The Rainbow: Google’s NTLMv1 Rainbow Tables Explained in a Bit Too Much DetailDeep dive into Google's published NTLMv1 rainbow tables and how they speed up cracking of legacy hashes.
Technique specterops.io
Highest paid
View allThe biggest public bounties for Crypto.
-
$13,000 -
The CN That Wasn't a CNGoogle Write-up
$11,250 -
Use of Cryptographically Weak Pseudo-Random Number Generator in WebCrypto keygenHigh Internet Bug Bounty HackerOne
$4,000 -
Hacking Swisscom’s End-to-End Encrypted Cloud Storage for $4,000Swisscom Write-up
$4,000 -
CVE-2024-2466: TLS certificate check bypass with mbedTLS (reward request)Medium Internet Bug Bounty HackerOne
$2,580 -
OpenSSL vulnerable to the Marvin Attack (CVE-2022-4304)Medium Internet Bug Bounty HackerOne
$2,540 -
OpenSSL Key Recovery Attack on DH small subgroups (CVE-2016-0701)Internet Bug Bounty HackerOne
$2,500 -
Padding oracle in AES-NI CBC MAC check (CVE-2016-2107)Internet Bug Bounty HackerOne
$2,500
Newest reports
All 993Most recently disclosed.
-
-
-
ASUS Control Center Express Use of Hard-coded Cryptographic Key Authentication Bypass VulnerabilityCritical Zero Day Initiative Advisory
-
ASUS Control Center Express Use of Hard-coded Cryptographic Key Authentication Bypass VulnerabilityCritical Zero Day Initiative Advisory
-
(Pwn2Own) Oracle Autonomous AI Database APEX Request Integrity Improper Verification of Cryptographic Signature VulnerabilityMedium Zero Day Initiative Advisory
-
-
Hangzhou Hikvision Digital Technology Co., Ltd. EZVIZ CS-C6N MQTT authentication bypass vulnerabilityMedium Cisco Talos Advisory
-
-
-
New Crypto reports by email
Follow Crypto and get each week's new disclosures in one short email.