What AuditX checks
The scan sends one request to crt.sh, a public search of Certificate Transparency logs, and asks for every certificate ever logged for your domain. It reads the names on those certificates and drops wildcard names, the bare domain, the plain www name and any name that is not under your domain. It keeps up to 40 names, putting names that point to a test, staging, acceptance, old or admin environment first (words such as staging, acc, test, dev, old, beta, demo, uat, qa, sandbox, backup, admin or internal in the part before your domain), then removes every name that the crawl or your sitemap already reached, and every name your own pages link to, such as a blog or shop subdomain in the menu. Up to 20 of the rest are checked in DNS, 4 at a time and within 30 seconds in total: the scan asks public resolvers for an IPv4 address and then an IPv6 address. A name counts as live when either lookup returns an address. It counts as gone when both lookups finished and found nothing. If a lookup could not be completed and no address was found, the name is unchecked, and an unchecked name is never counted as live. The scan sends no request to the subdomains themselves, only DNS questions. The check never fails. It passes when every name in the certificate history was already reached by the crawl or the sitemap. It warns when at least one name still resolves, was found nowhere else, and points to such an environment, and it names those first. When the live names all look like production, such as login, account or blog, the result is an info note that lists them, because most large sites have hosts like that which the homepage does not link. Names that start with webmail, mail, cpanel, whm, webdisk, cpcalendars, cpcontacts, autodiscover, autoconfig, mta-sts, smtp, imap, pop, pop3, ftp or plesk are left out of the count, because hosting providers create them for every site. If those are the only live names, the result is an info note. It is also an info note, which does not lower the score, when the names found no longer resolve, when the certificate lookup did not finish, or when the crawl failed. When no name is confirmed live but at least one lookup could not be completed, the info note is marked as not measured, and an unmeasured check limits its category score to 79 for that scan. A warning counts toward the security score at 40 percent of what a fail would cost. The check does not open the subdomains, does not judge what runs on them, and does not follow links to other hosts, so a real subdomain that your site links to but the crawl did not enter can be listed.
Why it matters
Certificate Transparency logs are public and append-only. The Certificate Transparency project explains that certificates can only be added to a log, not deleted, and that anyone can query a log. A name that appeared on a certificate years ago stays visible to everyone.
The OWASP Web Security Testing Guide notes that administrator interfaces often lack enough controls to protect them from unauthorized access. A forgotten staging or admin host that still answers in DNS is the kind of place where this happens.
How to fix it
- Open each subdomain the report names and decide whether it should still exist. Ask whoever built it if you are not sure.
- If it is no longer needed, remove its DNS record at your DNS provider. Do this only after you know nothing else uses the name, such as email.
- If it must stay, put a login, an IP allow list or another access control in front of it, and keep it out of search results.
- Keep a short list of your subdomains and what each one is for. Check it whenever you set up or retire a test site.
staging.example.com. 3600 IN A 203.0.113.10 ; remove this record if staging is no longer in use
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my siteSources
- Certificate Transparency: How CT works
- OWASP WSTG: Enumerate Infrastructure and Application Admin Interfaces