Abandoned subdomains pose security risk for businesses

Attackers could hijack subdomains pointed by companies at external services they no longer use, researchers say

Many companies set up subdomains for use with external services, but then forget to disable them when they stop using those services, creating a loophole for attackers to exploit.

Because many service providers don't properly validate the ownership of subdomains pointed at their servers, attackers can set up new accounts and abuse subdomains forgotten by companies by claiming them as their own.

Removing or updating DNS entries for subdomains that are no longer actively used sounds like something that should be common procedure, but according to researchers from Detectify, a Stockholm-based provider of website security scanning services, this type of oversight is actually quite widespread among companies.

"We've identified at least 17 Service Providers which do not handle the subdomain ownership verification properly -- allowing this vulnerability to be exploited, Heroku, Github, Bitbucket, Squarespace, Shopify, Desk, Teamwork, Unbounce, Helpjuice, HelpScout, Pingdom, Tictail, Campaign Monitor, CargoCollective, StatusPage.io and Tumblr," the Detectify researchers said in a blog post earlier this week.

"We've also identified at least 200 organizations which are currently affected," the researchers said. "In many cases, we are talking NASDAQ-listed, top 100 Alexa rank domains that basically allowed us to set up a Hello World on their domains."

The risk to website owners depends on what can be done on a third-party service once a domain is pointed to it. If the service allows users to set up Web pages or Web redirects, attackers could exploit the situation to launch credible phishing attacks by creating rogue copies of the main website.

In an attack scenario described by Detectify, a company might set up a subdomain for use with an external support ticketing service, but later close its account and forget to delete the subdomain. Attackers could then create a new account with the same service and claim the company's subdomain, which already has the needed DNS settings, as their own, allowing them to set up a fake website on it.

Some of the subdomains exposed to this form of hijacking that were found by Detectify belonged to various types of organizations including government agencies, health services providers, insurance companies and banks.

The security firm created an online tool that can help organizations check if they have subdomains vulnerable to this attack. The tool requires users to first prove they have control over the domains they intend to scan by using several methods.

Some service providers use similar checks. For example, to use Google Apps with a custom domain name the domain administrator needs to upload a specific HTML file to the Web server hosting the domain, to add a TXT or CNAME record in their domain's DNS settings or to add a specific meta tag to their website's home page. All these methods are forms of domain ownership verification.

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags GitHubonline safetysecurityAccess control and authenticationherokuExploits / vulnerabilitiesDetectify

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles


GGG Evaluation Team

Kathy Cassidy


First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni


For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell


The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi


The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott


My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?