Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Report: Subdomain Takeover of https://blog.mero.finance/ Pointing to Medium #373

Open
aparcekarl opened this issue Aug 8, 2023 · 0 comments

Comments

@aparcekarl
Copy link

Title: Web Application Security Testing

Bug url = https://blog.mero.finance/

Bug type = Server Security Misconfiguration > Misconfigure DNS > High Impact Subdomain Takeover

Priority= P2 (HIGH)

Description

Hi Mero Team,

Recently, i just found some of your subdomain (*mero.finance) pointing to vulnerable Third Party site "Medium" This issue is about your subdomain being misconfigured in Medium

Reconnaissance

I discovered that this subdomain “blog.mero.finance” is having an error with Medium meaning a non-connection with any project. Base in my past discoveries, this is a possible subdomain takeover

Proof of Concept
Steps to Reproduce:

  1. Go to Account settings in Medium.com
  2. Go to Custom Domain
  3. Add blog.mero.finance
  4. Publish a story in the subdomain.
    Done

Risk Breakdown

Risk: Severe
Difficulty to Exploit: Easy
Complexity: Easy
Weakness Categories: Deployment Misconfiguration/Stored XSS/Authentication Bypass (CWE: 16)
CVSS2 Score: 9.3 (AV:N/AC:M/Au:S/C:C/I:C/A:N)

Remediations

  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.
  4. Preventing subdomain takeovers is a matter of order of operations in lifecycle management for virtual hosts and DNS. Depending on the size of the organization, this may require communication and coordination across multiple departments, which can only increase the likelihood for a vulnerable misconfiguration.
  5. Create an inventory of all of your organization’s domains and their hosting providers, and update it as things change, to ensure that nothing is left dangling

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant