Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve SMS Bypass issue #64

Merged
merged 4 commits into from
Dec 20, 2021
Merged

Resolve SMS Bypass issue #64

merged 4 commits into from
Dec 20, 2021

Conversation

MKodde
Copy link
Member

@MKodde MKodde commented Dec 20, 2021

This PR is constructed of the work that was performed on a private repository to resolve an SMS Bypass security issue. Where two SMS authentication sessions could be intermingled, opening an opportunity for an attacker to use their own SMS verification code in the authentication session of the victim. Note that the attacker needs the victim's browser session to effectively exploit this vulnerability.

The solution to this problem is to register the SMS state based on the SMS token id. Allowing us to ensure an authentication session can only be used by the SMS token (phone number) that is associated to the one used from the start of the authentication.

This prevents issues when multiple SMS second factor verifications are
running in a single browser session.
@MKodde MKodde requested a review from phavekes December 20, 2021 09:27
@MKodde MKodde merged commit 656983e into develop Dec 20, 2021
@MKodde MKodde deleted the bugfix/sms-bypass branch December 20, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant