logoalt Hacker News

judge2020 • today at 1:52 AM • 3 replies • view on HN

The state of Cloudflare origin TLS is kinda bad, TBH.

A ton of Cloudflare customers' origins are either presenting snake oil certs, are using Cloudflare's "Flexible" mode (aka: plain text HTTP to the origin!), or "Full" (not "Full (Strict)"), which trusts any certificate presented and thus means mostly undetectable MITM is possible.

It looks like CF now has "Automatic" mode, which will enable Full (strict) if it sees your origins are presenting a valid certificate; but this is kind of even worse since it means people are even less likely to be encouraged to do the infrastructure upgrades to get "Full (strict)".

The page also has pretty bad wording.

    Mode details
    Flexible 
    
    Browser --(secure)--> Cloudflare ----> Origin Server
    
    Used for: Most production sites.
This wording for Flexible is atrocious. The situation is literally that any middlebox can passively see your origin traffic and saying "you're fine because most _production_ sites on Cloudflare are like this!".

Deep link to the TLS mode page: https://dash.cloudflare.com/redirect?to=/:account/:zone/ssl-...


Replies

cdelsolar • today at 2:46 AM

Wait wtf??

r1ch • today at 2:36 AM

Agreed, it's kind of ridiculous that a web security company has 3 of their 4 SSL options be "Allow anyone to MITM me".