Many businesses forget to maintain subdomains, with disastrous consequences

(Image credit: Shutterstock)

Failing to properly maintain subdomains can leave organizations at risk as they often contain overlooked vulnerabilities according to a new report from security researchers at the Vienna University of Technology and the Ca’ Foscari University of Venice.

While cybercriminals often try to hijack organizations' subdomains, the researcher's “Can I take your subdomain?” report, which will be presented at the USENIX Security Symposium in August, highlights how even large businesses with well-funded IT teams can fall victim to an attack by abandoning or ignoring unused subdomains.

As reported by The Register, once a subdomain has been neglected by an organization, it can become vulnerable to cookie-based attacks. In such an attack, a cybercriminal will set up their own site hosted on a different server which they will use to replace a company's subdomain.

As websites usually consider their subdomains to be “safe”, cookies from the main website can be overwritten and accessed by the subdomain. This allows an attacker to impersonate other users on a company's corporate network to launch additional attacks or steal sensitive data.

Vulnerable subdomains

In addition to looking into cookie-based attacks, the researchers also investigated other methods used by cybercriminals to takeover subdomains including dangling records, cross-origin resource sharing, postMessage JavaScript attacks and domain relaxation exploits that make it possible for scripts to run across related domains.

To show just how disastrous not properly maintaining one's subdomains can be, they also scanned 50,000 of the world's top websites from the Tranco list to discover 1,520 vulnerable subdomains across 887 sites. Cisco, CNN, Harvard and the US National Institutes of Health were just several of the organizations whose subdomains were susceptible to potential attacks.

After informing IT admins about their findings, only 31 percent of the vulnerable subdomains were secured after a six-month period. Another reason to properly maintain subdomains is due to the fact that organizations with more of them have a much larger attack surface.

In order to avoid falling victim to any potential attacks, organizations should decommission unused subdomains and keep their certificates up to date.

Via The Register

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home.