SSL Misconfiguration


Overview

SSL Misconfiguration causes a variety of issues such as sensitive pages being accessible via HTTP, use of weak SSL ciphers, and SSL stripping.

YouTubeVideo Tutorials

Discovery Methodology

Use an SSL cipher audit tool such as SSLScan to test cipher strength. Observe how the site handles an HTTP request. If the site redirects the user to HTTPS, the site can be stripped.

Exploitation

For SSLStripping, after ARP poisoning the client and the gateway, use SSLStrip to remove SSL connection.

To test cipher strength, the following tools are helpful

sslscan
sslscan --targets=hosts.txt
NMap
nmap -p 443 -v -Pn --script=ssl-enum-ciphers --open -iL hosts.txt

Videos


YouTubeHow to check HTTPS certificate from command line
YouTubeHow to check HTTPS Certificates for common issues
YouTubecURL Error: SSL Certificate Problem
YouTubeHow to Set HTTP Headers Using Apache Server
YouTubeCheck HTTP Headers with cURL
YouTubeHow to Check HTTP Headers (Command Line)
YouTubeHow to Check HTTP Headers from Browser
YouTubeWhat is HTTP Strict Transport Security (HSTS)?
YouTubeWhat is the HSTS Preload list?
YouTubeCookies: Part 2 - How Secure Cookies Work
YouTubeSSLScan: Part 1 - How to test HTTPS, TLS, & SSL ciphers
YouTubeSSLScan: Part 2 - How to Interpret the Results
YouTubeHow to Install SSLScan on Windows
YouTubeWhat is Certificate Transparency - Part 1
YouTubeWhat is Certificate Transparency? - Part 2 - Expect-CT Header