Report: We Tested 5 Popular Web Hosting Companies & All Were Easily Hacked
Multiple web hosting providers had client-side vulnerabilities including CORS misconfigurations, CSRF bypasses, and XSS that allowed attackers to steal personal data, tokens, and take over accounts when a victim clicked a link or visited a malicious site.
websiteplanet.com
Published on websiteplanet.com
{{media:0}} Written by: Paulos Yibelo
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a combination of weak origin validation in CORS, missing or bypassable CSRF protections, and insufficient input sanitisation leading to XSS.
Impact
Attackers could steal personal data, partial payment details, and tokens, and could take over accounts by changing email addresses or passwords, though some attacks required specific browser conditions or a man-in-the-middle position.
What the attacker needed
Victim clicks a link or visits a malicious site; victim is logged in to the hosting account; attacker controls a malicious website
The fix
The vulnerabilities were fixed after responsible disclosure, with Dreamhost and Endurance (Bluehost, iPage, HostGator) confirming patches.
How it was found
- Set up a malicious website with a domain that tricks the CORS regex, such as my.bluehost.com.evil.com.
- Lure a logged-in Bluehost user to the malicious site.
- The site makes a cross-origin request to Bluehost's API, which responds with the user's data because the origin is allowed.
- The attacker reads the response, obtaining PII and tokens.
- Use the tokens to access the user's WordPress, Mojo, SiteLock, or other OAuth-supported endpoints.
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 write-up has not been written yet. The Original tab links to the source.
This report tested five popular web hosting companies and found security holes in all of them. The flaws let an attacker trick a logged-in user into visiting a malicious website, which could then steal the user's personal information or even take over their hosting account. The problems were mostly due to websites trusting requests from other sites too easily or not checking inputs properly.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.