Headline
CVE-2022-2651: Email Verification Bypass Leads To Account Takeover in bookwyrm
Authentication Bypass by Primary Weakness in GitHub repository bookwyrm-social/bookwyrm prior to 0.4.5.
- Hello maintainer, i noticed that there is no ratelimit protetcion on https://book.dansmonorage.blue/confirm-email endpoint, so we can perform bruteforce attack
Steps to reproduce:
- Create a acount with victims email id
- When the account is created, its ask for email confirmation via validating OTP on https://book.dansmonorage.blue/confirm-email
- Enter any random OTP and try to perfrom bruteforce attack
Patch recommendation:
- Add ratelimit protecion on POST confirmation email endpoints/parameters
Impact
- Pre-Account Takeover
Related news
Bookwyrm 0.4.3 Authentication Bypass
Bookwyrm versions 0.4.3 and below suffer from an authentication bypass vulnerability due to a lack of rate limiting on OTP checks.