Podcast
Root Causes 365: What Is Subdomain Hijacking?


Hosted by
Tim Callan
Chief Compliance Officer
Jason Soroko
Fellow
Original broadcast date
February 26, 2024
In this episode we explain subdomain hijacking, including dangling subdomains and how they can constitute vulnerabilities.
Podcast Transcript
Lightly edited for flow and brevity.
And you probably have - - if you've ever worked with the public clouds at all, and that's any of them, you've probably set up websites, you've probably done a number of things that actually require IP addresses to be registered against them so that you can get to them on a network, right?
It just makes sense. And let's talk about something very specific, which is, if you have a website, it's very, very common to have a subdomain set up against that website, perhaps many subdomains, and within the DNS operations of your cloud provider, quite often there will be a specific address, an IP address, assigned to some of those subdomains. And here's what's interesting, Tim, is that what we're finding, and this is - - I'm actually surprised we haven't heard a lot more about this, but it is coming about. Basically, if you cause an orphan, let's say, somehow you change your website, and you don't go back and change the DNS settings specifically addressed from your cloud provider. Sometimes those IP addresses are still assigned to that orphaned or non- existing subdomain.
What's happening here - - The reason why you're starting to hear about this now, the reason why we're calling it out is because a group called Certitude and they've got a blog on this - Thousands Of Organizations Vulnerable To Subdomain Hijacking. I invite you guys to read that. Basically, it goes right through everything we just said, but I think what has changed him is I think some of the white hats that are out there have built themselves some tooling to be able to enumerate for this condition. They can find these dangling DNS conditions. That's what's different right now.
If you are pointing to something that's an old subdomain that doesn't exist anymore, this problem applies to you.
And, Tim, you can imagine that the whole point of those things is, it's convenient. It's very convenient when you have a lot of subdomains and you might not know which subdomains you're gonna be creating in the future, you get yourself a wildcard domain certificate and what that basically means is, any subdomain you create in the future will be covered by that one certificate. Hurrah. So handy. Very convenient. But guess what? It applies to this problem in spades, as you can imagine, Tim.

