My First Swag Pack : A Logical Bug on Edmodo
An unverified phone number could be added to an account, and the system then treated that number as taken, preventing the legitimate owner from using it. An attacker who knew a victim's phone number could block them from enabling two-factor authentication.
Published on secjuice.com
This is the short story of my first swag pack. Not so long ago, I was focused only on bounty sites, I saw some stories on facebook of my friends who were getting their 3-4th swags and I was like, wow I need to get in on this too.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application reserves a phone number for an account as soon as it is submitted, without requiring verification first.
What the attacker needed
Attacker knows victim's phone number; attacker has an account
How it was found
- Sign up as a teacher and explore the account settings.
- Add a phone number but do not complete verification.
- Create a second account and try to add the same phone number.
- Observe that the system says the number is already in use.
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 write-up has not been written yet. The Original tab links to the source.
When you add a phone number to an account, the site should check that you actually own it before marking it as used. Here, the site reserved the number without verification, so someone else could not use it later. This is a logic flaw because the site's rules can be abused without any technical exploit.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.