Subdomain Takeover on annualmeeting2022.globe.gov
A DNS record for a subdomain pointed at a Meteor hosting endpoint that was no longer in use, so anyone could claim it. The researcher registered a Meteor account, deployed an application, and served arbitrary content on the trusted subdomain.
Originally disclosed on Bugcrowd
- Accepted in 5 days
- Fixed in 9 days
- Disclosed after 18 days
Summary by Nickguitar
.
Report details
-
Submitted
25 Feb 2024 06:10:53 UTC
-
Target Location
https://globe.gov/ -
Target category
Web App
-
VRT
Server Security Misconfiguration > Misconfigured DNS > Basic Subdomain Takeover
-
Priority
P3
-
Bug URL
https://annualmeeting2022.globe.gov/ -
Description
Basic Subdomain Takeover
Overview of the Vulnerability
A subdomain takeover is when a misconfigured Domain Name System (DNS) record is re-registered to an endpoint owned by an attacker. An attacker is then able to redirect users to the endpoint and capture data such as cookies and credentials, perform Cross-Site Scripting (XSS) attacks, and potentially take over accounts in the legitimate application.
A subdomain takeover vulnerability was identified and successfully exploited on annualmeeting2022.globe.gov. The vulnerable subdomain was found to be pointed to us-east-1.galaxy-ingress.meteor.com, a domain associated with Meteor's hosting service. By registering an account on Meteor for $1 and deploying an application, I was able to serve arbitrary content on annualmeeting2022.globe.gov.
Business Impact
Subdomain takeover could lead to data theft and indirect financial loss through the attacker’s ability to interact with legitimate users. These malicious actions could also result in reputational damage for the business through the impact to customers’ trust. This vulnerability allows an attacker to serve arbitrary content, phishing pages, or malicious software through a trusted domain, potentially compromising the security and trust of visitors. It is also possible to perform XSS attacks to steal auth cookies from other subdomains.
Steps to Reproduce
- Browse to the URL
https://annualmeeting2022.globe.gov - You will see a PoC text with my BugCrowd username (Nickguitar)
Proof of Concept (PoC)
The following screenshot show the success of a subdomain takeover:
The affected domain was pointing to a Meteor URL no longer in use
Deploying application to the specified Meteor URL
Application successfully deployed in the specified URL
I have now control of the contents of the page shown in the subdomain.
- Browse to the URL
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 a dangling DNS record left pointing at a Meteor hosting endpoint that was no longer claimed by the organisation.
Impact
An attacker could serve arbitrary content, phishing pages or malicious software through a trusted domain, and could potentially perform XSS to steal auth cookies from other subdomains.
What the attacker needed
Control of the abandoned Meteor endpoint; a Meteor account costing $1
How it was found
- Visit the subdomain in a browser.
- Observe the proof-of-concept text with the researcher's username, showing the content is attacker-controlled.
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.
A subdomain is a smaller name under a main domain, like shop.example.com. If that name still points to an outside hosting service that nobody uses any more, someone else can sign up for that service and put their own page there. Visitors then see attacker content on a name they trust.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.