Lucene search

K
hackeroneNgalogH1:617896
HistoryJun 18, 2019 - 7:51 a.m.

GitLab: Bypass Email Verification using Salesforce -- Reproducible in gitlab.com

2019-06-1807:51:06
ngalog
hackerone.com
23

0.001 Low

EPSS

Percentile

43.8%

Summary

The salesforce login integration allows attacker to bypass email verification – user is able to signup with any email domain they want, effectively bypass all email domain whitelist/blacklist restriction or any other 3rd party using gitlab instance’s email address.

It is possible because salesforce allow admin to create user with arbitrary email, and I believe this is what gitlab engineer forgot to consider while implementing salesforce integration.

Please follow along to see how I was able to create an account ███████ in gitlab.com

Steps to reproduce

Impact

Bypass email domain restriction and able to signup with arbitrary email domain

What is the current bug behavior?

Able to signup with any email domain

What is the expected correct behavior?

should need email verification

Relevant logs and/or screenshots

{F511255}

Impact

described above

0.001 Low

EPSS

Percentile

43.8%