Hosted Zone Takeover at *.pushbox.prod.cloudops.mozgcp.net
Categories
(Websites :: Other, task)
Tracking
(Not tracked)
People
(Reporter: dimax5659, Unassigned)
References
()
Details
(Keywords: reporter-external, sec-moderate, wsec-takeover, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
I discovered that it was possible to takeover *.pushbox.prod.cloudops.mozgcp.net by assigning a zone to that name with one of the following nameservers in Google Cloud DNS:
pushbox.prod.cloudops.mozgcp.net. 300 IN NS ns-cloud-d2.googledomains.com.
pushbox.prod.cloudops.mozgcp.net. 300 IN NS ns-cloud-d1.googledomains.com.
pushbox.prod.cloudops.mozgcp.net. 300 IN NS ns-cloud-d4.googledomains.com.
pushbox.prod.cloudops.mozgcp.net. 300 IN NS ns-cloud-d3.googledomains.com.
If a domain points to one of the nameservers listed above it is using Google Cloud DNS, a free service. A SERVFAIL error indicates the domain is vulnerable to take over. To perform the takeover set up a free Google Cloud account then navigate to Cloud DNS. Click Create Zone and then enter the (sub)domain name in the field named DNS name. Your new zone will be given four random Google nameservers. These must match the ones on the vulnerable domain. If they do not match simply delete the zone and create another one, you should be assigned a different random set of Google nameservers. I can take a few attempts to get them to match.
Once the zone was claimed, I was able to create DNS records under this host. Consider the following record:
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Hello,
Thank you for your report.
I can confirm the takeover:
$ curl http://poc.pushbox.prod.cloudops.mozgcp.net/poc.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DNS Zone TakeOver</title>
</head>
<body>
<script>alert("DNS Zone TakeOver by DiMaX!")</script>
<h1>DNS Zone TakeOver by DiMaX!</h1>
</body>
</html>
I have reached out to our infra team to take a look.
Thanks,
Frida
Comment 2•3 years ago
|
||
:DiMax thank you for finding this! I have deleted the NS record for pushbox.prod.cloudops.mozgcp.net so this takeover should be removed shortly.
Comment 4•3 years ago
|
||
The bug bounty team meets weekly and will update this bug when that determination has been made
Updated•3 years ago
|
Updated•3 years ago
|
Hello,
I still haven't received this award. Can you check your sides?
Comment 8•3 years ago
|
||
Can you please email security@mozilla.org to follow up?
Thanks,
Frida
(In reply to Frida K [:frida] from comment #8)
Can you please email security@mozilla.org to follow up?
Thanks,
Frida
Yes I can.
Updated•2 years ago
|
Description
•