Ghost authentication bypass in convert_to_real_user
muneeb141 ghost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| muneeb141 ghost |
| No fix yet |
Original description
Ghost by muneeb141 on the main branch from commit c731cdf through commit 672dfec contains an authentication bypass vulnerability in the whitelisted ghost.api.ghost.convert_to_real_user method that allows unauthenticated attackers to skip OTP verification by setting the client-supplied bypass_otp parameter. Attackers can obtain a ghost session from the guest-accessible create_ghost_session endpoint, then call convert_to_real_user with an arbitrary real_email and bypass_otp=1 to receive OAuth tokens for existing accounts and take them over.
From the CVE record · VulnCheck