All authentication uses HTTPS TLS 1.2+
Why it matters
Transmitting credentials over unencrypted HTTP exposes every login, password-reset token, and OAuth callback to network interception — a passive attacker on the same Wi-Fi can harvest session tokens in seconds. NIST 800-53 rev5 SC-8 (Transmission Confidentiality) and SC-23 (Session Authenticity) require cryptographic protection for all in-transit data; FedRAMP rev5 makes this a hard requirement for cloud systems handling federal data. CWE-319 and OWASP A02 (Cryptographic Failures) both cite cleartext credential transmission as a direct path to account takeover. Without HSTS, even an HTTPS-capable server remains vulnerable to SSL stripping during the first unprotected request.
Severity rationale
Critical because unencrypted authentication transport lets any passive network observer capture credentials and session tokens without any active exploit.
Remediation
Configure HSTS in next.config.js and ensure all OAuth redirect URIs are registered with HTTPS-only hostnames. The minimum max-age for FedRAMP-aligned systems is 31536000 seconds.
// next.config.js
const nextConfig = {
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Strict-Transport-Security',
value: 'max-age=31536000; includeSubDomains; preload'
}
]
}
]
}
}
export default nextConfig
Set all OAuth provider callback URLs (Auth0, Clerk, Supabase Auth) to https:// explicitly. Configure your hosting layer (Vercel, AWS CloudFront) to respond with a 301 redirect for any http:// request — do not rely on the application layer alone.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the FISMA/FedRAMP Readiness Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- nist:rev5 · SC-8 — Transmission Confidentiality and Integrity
- nist:rev5 · SC-23 — Session Authenticity
- fedramp:rev5 · SC-8 — FedRAMP SC-8 — HTTPS/TLS for all auth traffic
- cwe · CWE-319 — Cleartext Transmission of Sensitive Information
- owasp:2021 · A02 — Cryptographic Failures
Taxons
History
- 2026-04-18·v1.0.0·Initial import from gov-fisma-fedramp·automated