HexBrain

Sifchain · Report #1487793

Subdomain Takeover on proxies.sifchain.finance pointing to vercel

Informativestatus
highseverity
12upvotes
1 Apr 2022disclosed

How it was found

Hello Team,

Subdomain takeover vulnerabilities occur when a subdomain (subdomain.example.com) is pointing to a service (e.g. GitHub pages, Heroku, etc.) that has been removed or deleted. This allows an attacker to set up a page on the service that was being used and point their page to that subdomain. For example, if subdomain.example.com was pointing to a GitHub page and the user decided to delete their GitHub page, an attacker can now create a GitHub page, add a CNAME file containing subdomain.example.com, and claim subdomain.example.com. Here there is a Sifchain domain (proxies.sifchain.finance) which is pointing towards vercel pages so this domain can be taken over can can be used to do any type of attacks mostly i can make a fake login page on your behalf and spoof your users, this is a critical vulnerability and needs to be fixed .

{F1627827}

Vulnerable url : https://proxies.sifchain.finance/

{F1627821}

Cname: cname.vercel-dns.com Name: proxies.sifchain.finance Type: CNAME Class: IN

Steps To Reproduce/Concept:

  1. Visit https://vercel.com/login and login with dev sifchain account

  2. Check the availability of the proxies.sifchain.finance sub domain at https://vercel.com/[YourUsername]/sveltekit/settings/domains

  3. The proxies.sifchain.finance sub domain does not exist. Potential to be claimed by others

Remediation:

Remove the cname entry or claim the subdomain proxies.sifchain.finance on vercel.com

References:

https://github.com/EdOverflow/can-i-take-over-xyz/issues/183

{F1627822} {F1627826}

https://github.com/EdOverflow/can-i-take-over-xyz https://labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/ https://0xpatrik.com/subdomain-takeover/ http://yassineaboukir.com/blog/neglected-dns-records-exploited-to-takeover-subdomains/

Best Regards, @hrdfrdh

Impact

Fake website Malicious code injection Users tricking Company impersonation This issue can have really huge impact on the companies reputation someone could post malicious content on the compromised site and then your users will think it's official but it's not

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original