Skip to content
Subdomain takeover Disclosed report Beginner

code.wordpress.net subdomain Takeover

The subdomain code.wordpress.net was an alias to a WordPress.com blog showing a domain mapping error, and the reporter says it could be taken over.

sniperpex Follow

Originally disclosed on HackerOne

Medium 5.8 View original
  • Triaged in 59 days
  • Fixed in 2 months
  • Paid in 3 months
  • Disclosed after 3 months

Hy Wordpress sec i found as it is posible to takeover this domain http://code.wordpress.net when you navigate it you will get this error msg:

Warning! Domain mapping upgrade for this domain not found. Please log in and go to the Domains Upgrades page of your blog to use this domain.

$ host code.wordpress.net code.wordpress.net is an alias for wpprojects.wordpress.com. wpprojects.wordpress.com is an alias for lb.wordpress.com. lb.wordpress.com has address 192.0.78.13 lb.wordpress.com has address 192.0.78.12

Impact

The attacker can takeover this subdomain

The original report as published on HackerOne, by sniperpex. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a dangling DNS alias pointing to a WordPress.com blog whose domain mapping had lapsed, leaving the subdomain claimable.

Impact

The attacker could take over the subdomain, though the report gives no further detail on what could then be done with it.

What the attacker needed

Subdomain aliased to a blog showing a domain mapping error

How it was found

  1. Visit the subdomain and observe the domain mapping error message.
  2. Resolve the subdomain with a DNS lookup to see the alias chain.
  3. Note that it resolves to shared WordPress.com load balancer addresses.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A subdomain is a prefix on a domain. Here the subdomain pointed at a WordPress.com blog that showed an error saying the domain mapping upgrade was not found, and the reporter says it could be taken over.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

More by sniperpex

View all

1 more disclosed report, best first.

More from WordPress

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.