scanrub
Cleartext Transmission

Cleartext Transmission

2 min read 36 reports analyzed ScanRub Research
Share

Summary

Mostly curl-CVE family (Proxy-Authorization leak on redirect, Metalink credential leak, HSTS bypass via trailing-dot/IDN, Rocket.Chat OAuth-token-via-API leak). Closely related to Insufficiently Protected Credentials - same module set covers most of it.

◈ flow diagram
Sensitive DataUnencrypted …Direct Acces…Data Exposed
◈ chart
Critical
3
High
9
Medium
15
Low
9

Top Affected Components / Targets

  • Same as Insufficiently Protected Credentials synthesis

Common Attack Vectors

  • Same as Insufficiently Protected Credentials synthesis

Common Payloads

  • Same as Insufficiently Protected Credentials synthesis

Detection Strategy

The same techniques used for insufficiently protected credentials apply here, checking whether HTTPS is required and correctly enforced, plus version-fingerprinting TLS libraries against known CVEs. OpenID Connect and OAuth endpoints deserve a specific check of their own, since accepting plain HTTP on an identity-provider callback is a particularly high-impact instance of this class.

Tip: Testing tools that run these checks in parallel across every discovered endpoint can cut the time required substantially compared to fully manual testing, as long as they confirm findings with more than one signal to keep the false-positive rate down.

False-Positive Notes

Same as Insufficiently Protected Credentials synthesis.

How to Test

Manual Testing Methodology

Here is a systematic approach to identifying Cleartext Transmission vulnerabilities in a target application.

Step 1: Reconnaissance and Surface Mapping

Before testing, map all input vectors that could be affected. Identify parameters, headers, cookies, and request bodies that interact with the vulnerable component. A proxy such as Burp Suite or OWASP ZAP, paired with normal browsing of the target, is usually enough to build this list.

Step 2: Baseline Request

Send a legitimate request and record the normal response: status code, content length, response time, and any identifying tokens. This baseline matters because it's what you'll compare later responses against once payloads are involved.

Step 3: Payload Injection

Inject test payloads into each identified input vector one at a time. Start with benign detection payloads before escalating to anything that could actually trigger the vulnerability. For Cleartext Transmission specifically, capture traffic on any link expected to be encrypted (including internal/service-to-service where reachable) to check for cleartext transmission, and probe signature or token-verification endpoints with a stripped, empty, or mismatched signature to see whether verification is actually enforced.

Step 4: Response Analysis

Compare the response against your baseline, looking specifically for sensitive data (credentials, personal information, session tokens) visible in plaintext on the wire or in storage, or a request with an invalid/missing signature that the server accepts as valid anyway.

Step 5: Confirmation

Once a potential vulnerability is detected, confirm it with at least a few independent test cases to rule out coincidence. Document the exact request and response as proof. For Cleartext Transmission, a confirmed finding typically means showing that attacker-controlled input changes the application's behavior in a way that matters for security, not just that a payload was reflected somewhere harmless.

Real-World Impact

Real-World Impact

Sensitive data stored or transmitted in cleartext is exposed to anyone with read access to the storage layer or the network path — a database backup, a misconfigured bucket, or a passive network observer on an unencrypted link all yield the data directly, with no cryptographic barrier to defeat first.

Broken cryptographic-signature verification is a related but distinct failure: even where encryption is used correctly elsewhere, a signature check implemented as a naive string comparison (rather than a constant-time comparison) or that accepts a malformed or absent signature can let an attacker forge tokens, licenses, or authenticated messages outright.

Both failure modes tend to surface only when it's already too late — in a breach post-mortem, a compliance audit, or a researcher's report — since neither one changes the application's normal behavior in a way that would be caught by functional testing alone.

Prevention & Remediation

Prevention and Secure Coding

Preventing Cleartext Transmission takes a defense-in-depth approach — no single control below is sufficient alone, but together they close off both the primary path and the most common bypasses.

Encrypt sensitive data at rest. Apply encryption to sensitive fields and backups at the storage layer, with key management separated from the data itself.

TLS everywhere, including internal traffic. Enforce TLS for all data in transit — between the client and the edge, and between internal services, since an internal network is not an implicit trust boundary.

Constant-time signature comparison. Verify cryptographic signatures using the crypto library's constant-time comparison function, never a plain ==/.equals() check, which leaks timing information an attacker can use to forge a valid signature byte by byte.

Keep TLS configuration current. Disable legacy protocol versions and weak cipher suites, and monitor certificate expiry actively rather than reactively.

Minimize what needs protecting. Don't retain or transmit sensitive data that isn't actually needed — the cheapest way to reduce cleartext-exposure risk is to reduce the surface that requires protection at all.

Source reports

A sample of the disclosed HackerOne reports this playbook was synthesized from.

Frequently Asked Questions

What is Cleartext Transmission?
Mostly curl-CVE family (Proxy-Authorization leak on redirect, Metalink credential leak, HSTS bypass via trailing-dot/IDN, Rocket.Chat OAuth-token-via-API leak).
How common is Cleartext Transmission in bug bounty reports?
Scanrub's research corpus for this playbook is built from 36 disclosed HackerOne reports in this category, synthesized for detection and prevention guidance rather than reproduced verbatim.
How do I test for Cleartext Transmission?
Map every input vector, record a baseline response, then inject targeted test payloads one field at a time and compare the response for timing, length, error, or reflection differences from that baseline. The "How to Test" section above walks through the full methodology for this specific vulnerability class.
What is the single most effective fix for Cleartext Transmission?
Encrypt sensitive data at rest, enforce TLS for all data in transit including internal service-to-service traffic, and verify signatures with a constant-time comparison, never a plain string equality check.
Weekly security research

New vulnerability playbooks, tool updates, and bug bounty insights - delivered to your inbox. No spam.

Unsubscribe anytime. We respect your inbox.
Press ⌘K to search×