Closed Bug 1660846 Opened 6 years ago Closed 6 years ago

DNS Stale Record present for tokens.mozilla-releng.net might lead to takeover

Categories

(Websites :: Other, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: buffedsteel, Unassigned)

References

Details

(Keywords: reporter-external, sec-moderate, wsec-takeover, Whiteboard: [reporter-external] [web-bounty-form])

#Summary:
DNS record for tokens.mozilla-releng.net is pointing to stale record tokens.mozilla-releng.net.herokudns.com on Heroku.
On digging the DNS record for the domain, it returns a HEROKUDNS CNAME set, which is leading to nowhere and is not claimed on the heroku portal.

I'm also able to add the domain on my Heroku portal, which means that the domain is not added to any other Heroku account. (refer to attachment mozilla.png)

#Impact
The following stale record should be removed ASAP, as these are stale records that do not point to anywhere and should be removed before any attacker takes advantage of the following stale records, and adds the domain to their Heroku Portal which will in turn lead might lead to Subdomain Takeover, and the attacker will be able to claim the domain.

Flags: sec-bounty?
Type: task → defect
Keywords: wsec-takeover
Whiteboard: [reporter-external] [web-bounty-form] [verif?] → [reporter-external] [web-bounty-form]

I deleted the following records from Route53:

tokens.mozilla-releng.net          CNAME	Simple	-	tokens.mozilla-releng.net.herokudns.com
tokens.staging.mozilla-releng.net  CNAME	Simple	-	tokens.staging.mozilla-releng.net.herokudns.com
tokens.testing.mozilla-releng.net  CNAME	Simple	-	tokens.testing.mozilla-releng.net.herokudns.com
See Also: → 1660839
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED

Reporter, someone will be in touch regarding your bounty. How would you like to be credited/linked on our hall of fame? Thanks!

Group: websites-security
Flags: sec-bounty?
Flags: sec-bounty-hof+
Flags: sec-bounty+

I'd like to be acknowledged as Priyanshu Parihar and you can add my HackerOne link with it which is-
https://hackerone.com/priyanshuxo

Regards,
Priyanshu

Keywords: sec-moderate
You need to log in before you can comment on or make changes to this bug.