Skip to content
Misconfiguration Disclosed report Beginner

Starbucks.com is reachable via ip address thus possible to link any doamin to Starbucks.

A web server answers requests for any hostname pointed at its IP address, so anyone who buys an offensive domain and points it there can make the target site appear associated with that domain. The author argues this could damage a company's reputation, though no actual vulnerability in the application is demonstrated.

cj862530 Follow

Originally disclosed on HackerOne

  • Disclosed after 15 days

It is possible for anybody to buy a domain name containing negative terms and point it to someone's website in order to damage their reputation. For instance someone could buy the domain child-pornography.com and point it to the address 107.162.135.91 which is the address behind starbucks.com

To illustrate this, I added the entry 107.162.135.91 o my /etc/hosts file and tested. Here is what I obtained:Refer screenshot 1 personally found this user experience terrible as someone could think that starbucks are in favour of child pornography (i just demonstrated it on my domain i.e hackingig.com)

I tested with other websites and experienced other behaviors that I would categorize as follows:

1 - Useful 404 page (happens with www.teavana.com) one of your domain: For me the worst way of handling this as the image of the targeted website is directly associated with the offending domain. The more useful the 404 page, the bigger the impression that the targeted website would be willing to help with child pornography.

2 - Redirection (happens with microsoft.com): For instance when accessing child-pornography.com you get redirected to www.microsoft.com. It isn't as bad as above as the offending domain name never appears alongside the targeted website's content, but still bad in my opinion as it gives the impression the targeted website bought the offending domain and redirected it to their website to get more traffic.

3 - Server error (happens with lemonde.fr): You get an error from the webserver which page doesn't contain any content that can be associated with the targeted website (e.g. default Apache 404 page, completely blank page). I believe that is good as the identify of the targeted website isn't revealed.

Above are the various behaviors I experienced, but I also thought about a fourth way of dealing with this which is described below.

4 - Disclaimer page (haven't found any website implementing that technique):

Display a message such as :

"You ended here because someone bought and linked the child-pornography.com domain to our website. We do not own this domain and do not associate ourselves with it. This request has been logged by our servers and we will raise this issue with the competent authorities to have this domain taken down. If you want to access our website, please click here." The good thing about this method is that it can be implemented at application layer (good if you don't have control over web server which happens with some hosting solutions), allows you to protect yourself from any liability, and offer the visitor to be redirected to your own website.

Attachments

Screenshot_1.jpg
Screenshot_1.jpg From the original on HackerOne

The original report as published on HackerOne, by cj862530. 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 the web server is configured to serve the site for any Host header rather than only its own domain names, so it answers requests for unrelated domains pointed at its IP.

Impact

An attacker could make a target site appear linked to an offensive domain, which may damage its reputation; the text shows no data exposure or code execution.

What the attacker needed

Attacker registers an offensive domain; domain is pointed at the target's IP address; victim visits the offensive domain

The fix

The author suggests a disclaimer page for requests arriving via unrelated domains; the text does not prescribe other server configuration.

How it was found

  1. Add a hosts-file entry mapping an arbitrary domain to the target's IP address.
  2. Load the arbitrary domain in a browser and observe the target site's response.
  3. Repeat against other sites to compare how each handles the unknown hostname.

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.

Every website lives at a numbered address (an IP address), and a domain name is just a friendly label that points to it. If a server replies to whatever name is used to reach it, someone can register an unpleasant name, aim it at that address, and visitors will see the real site under the bad name. This is mostly a reputation and branding concern rather than a break-in.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Starbucks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.