Incorrect Authorization in microweber
The application allowed an attacker to register an account using a victim's email address because there was no email confirmation and social login did not check for existing accounts. This let the attacker gain pre-authentication access to the victim's account and persist, potentially viewing and modifying the victim's activities.
microweber/microweber
Originally disclosed on huntr
Users Account Pre-Takeover or Users Account Takeover. in GitHub repository microweber/microweber prior to 1.2.15. Victim Account Take Over. Since, there is no email confirmation, an attacker can easily create an account in the application using the Victim’s Email. This allows an attacker to gain pre-authentication to the victim’s account. Further, due to the lack of proper validation of email coming from Social Login and failing to check if an account already exists, the victim will not identify if an account is already existing. Hence, the attacker’s persistence will remain. An attacker would be able to see all the activities performed by the victim user impacting the confidentiality and attempt to modify/corrupt the data impacting the integrity and availability factor. This attack becomes more interesting when an attacker can register an account from an employee’s email address. Assuming the organization uses G-Suite, it is much more impactful to hijack into an employee’s account.
From the GitHub Advisory Database (GHSA-73rp-q4rx-5grc, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the lack of email verification during registration and the failure to check for an existing account when using social login allowed an attacker to pre-register a victim's email and maintain access.
Impact
An attacker could view all activities performed by the victim and attempt to modify or corrupt data, impacting confidentiality, integrity, and availability; the attack is more impactful when targeting an employee's email in an organisation using G-Suite.
What the attacker needed
No email confirmation required; social login enabled; attacker knows victim's email
The fix
The issue was fixed in version 1.2.15 of microweber.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you sign up for a website, it usually sends a confirmation email to prove the address is yours. Here, that step was missing, so someone could sign up with your email before you did. Later, when you log in with Google or another social account, the site did not check that an account already existed for your email, so the attacker kept access to your account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.