by Denvercoder9 · 5y ago · 0 comments
Doesn't GitHub require e-mail validation before it associates commits with that e-mail address?
> Or they could have had different e-mails for php.net and GitHub, i.e. something like php@xy.com and github@xy.com.
Then require them to add their php.net mail address to their GitHub account.
> the likelihood of this creating additional problems is there.
That I agree with.
IIRC, nope! You can say your email is Linus Torvalds’, and GitHub will not question it (and even link to his GitHub profile in the commit history!)
That's the other way around though -- claiming the victims GitHub profile made a commit controlled by the attacker, instead of claiming the attackers GitHub profile made a commit controlled by the victim.
1. Look for a contributor without GitHub account (i.e. xy@gmail.com )
2. Add xy@gmail.com to your GitHub account/create one with that address [0]
2.1 The commits made by the victim will now link to your account on GitHub
3. Send a mail to Nikita with your faked GitHub-profile
None of this will survive a thorough check, but under pressure this will easily pass a surface-level check.
[0] I think you need to confirm your primary E-Mail, but not secondary ones. Alternatively, you could look for commits made from an now deleted mail account.
Although the victim would be notified that their address was added to a rogue account, the notification mail says: "If this wasn’t you, please ignore this email." Ugh.