CVE-2018-21246

Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode

published June 15, 2020

CVSS
—
EPSS
3%
Percentile
85.9
In the wild
Unconfirmed
What it is

⚠️ Caddy versions before 0.10.13 have a sneaky flaw that can let an attacker slip past TLS client authentication – no password required! Think of it like a VIP lounge at a concert where the bouncer forgets to check if guests are on the list. Anyone can walk in and enjoy the show, even if they don't have the right ticket! An attacker could exploit this weakness to gain unauthorized access, potentially setting the stage for data tampering or impersonation without ever being detected. Imagine letting someone into a secured area who shouldn't be there at all – that's the kind of risk we're talking about!

Put simply

Think of it like a VIP lounge at a concert where the bouncer forgets to check if guests are on the list. Anyone can walk in and enjoy the show, even if they don't have the right ticket! This vulnerability stems from Caddy mishandling TLS client authentication due to the lack of StrictHostMatching mode, allowing unauthorized users to bypass authentication checks altogether.

What to do

An attacker could exploit this weakness to gain unauthorized access, potentially setting the stage for data tampering or impersonation without ever being detected. Imagine letting someone into a secured area who shouldn't be there at all – that's the kind of risk we're talking about! To secure your server, update Caddy to version 0.10.13 or later. Additionally, enable StrictHostMatching mode to enforce proper client certificate checks and ensure only authorized users can access sensitive resources. You've got this! By following these steps, you'll be well on your way to securing your Caddy server! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02723 · 85.9th percentile
Published
2020-06-15T16:50Z
EPSS history
Timeline
  • 15 JUN 16:50Z
    Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode
    cvelistv5