EthereansOS / Organizations-Interface

🕹 👻 An open source interface for the DFO protocol (Organizations). Create, Manage, Govern, Farm, Inflate, ENS, Metadata and more
https://dapp.dfohub.com/
BSD 2-Clause "Simplified" License
11 stars 5 forks source link

🐞 [Security Vulnerability] DNS misconfiguration leads to Takeover of subdomain https://stake.dfohub.com/ #35

Closed 0xjeffsec closed 3 years ago

0xjeffsec commented 3 years ago

Hello folks,

I'm a security researcher, I seek your acceptance to report a security vulnerability in your web application. Initially, I would appreciate if you can allow me to know about your company having a responsible disclosure policy, Reaching you here to report a full disclosure of a security vulnerability which allowed to take control over the subdomain due to misconfiguration.


DNS misconfiguration leads to Takeover of subdomain https://stake.dfohub.com/

Background

This attack vector utilizes DNS entries pointing to Service Providers where the pointed subdomain is currently not in use. Depending on the DNS-entry configuration and which Service Provider it points to, some of these services will allow unverified users to claim these subdomains as their own.

[1] Responsible Disclosure Policy [2] Security Bug Bounty

Concept

$ host https://stake.dfohub.com/
> https://stake.dfohub.com/ is an alias for github.io

1

2 3

Technical details

Risk Breakdown

The attack can leverage this method to steal cookies by hosting malicious javascript/spread malware/steal money by setting up the sale/steal login details of users/spear-phishing/authentication bypass/ fake dapp applications and other bad stuff.

Reference: https://0xpatrik.com/subdomain-takeover/

Mitigation

  1. Check your DNS-configuration for subdomains pointing to services, not in use
  2. Set up your external service so it fully listens to your wildcard DNS.
  3. Our advice is to keep your DNS entries constantly vetted and restricted.

Please let me know if you have any other questions. I would be more than happy to help.

I hope you will take security seriously and if you wished to consider a reward/bounty by determining the severity of the vulnerability and for responsibly disclosing the vulnerability.

Bounty/Reward:

BUIDL : 0x53db67df6befe7a4249d437557d455fd7a534a46
ETH ERC20: 0x82aCb9B3Ff79e0cb2199f4d4bDBFA4311D1388A8 

Best Regards,
Tom Jeff

tominfosec #Discord

alet89 commented 3 years ago

solved, thank you