Several internal applications have open CORS, allowing external folks to access the content
Several internal applications had overly permissive CORS policies, allowing an attacker to access their content from an external domain. By using a typosquat domain, the attacker gained access to a browser on an internal network and could retrieve data from those domains.
Tesla
Originally disclosed on Bugcrowd
- Accepted in 4 days
- Fixed in 12 months
- Disclosed after 12 months
Summary by Tesla
Allowing disclosure with limited visibility since the report contains information about internal hosts
Summary by bigBugGuy
Using a typosquat domain, I was able to get access to a browser that sat on an internal Tesla network, without social engineering anyone. From there, I could access all the open CORs domains:
aads.teslamotors.com
envoy-commerce.teslamotors.com
packaging-v2-api-stg.teslamotors.com
packaging-v2-api.teslamotors.com
location.teslamotors.com
messagecenter-external-api-stage.teslamotors.com
m3location.teslamotors.com
payment-gateway.teslamotors.com
onboarding-pre-delivery-prod.teslamotors.com
eaa-setup.teslamotors.com
That response data was then sent back out to me. The team was quick to triage the issue, and fix the permissive CORs issue.
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 the CORS configuration on multiple internal applications allowed arbitrary origins, rather than restricting to trusted domains.
Impact
An external attacker could read content from multiple internal applications, potentially exposing sensitive data.
What the attacker needed
A typosquat domain; access to an internal network browser
How it was found
- Register a typosquat domain.
- Use the typosquat domain to gain access to a browser on an internal network.
- From that browser, access the open CORS domains and retrieve their response data.
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.
CORS is a browser rule that controls which websites can read responses from another site. If a site allows any origin, a malicious page can read data that should be private. Here, many internal sites had this open setting, so someone outside the company could read their content.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.