Skip to content
Business logic Write-up Beginner

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.

Abartan Dhakal Follow

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.

Abartan Dhakal (@imhaxormad), on secjuice.com

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

  1. Sign up as a teacher and explore the account settings.
  2. Add a phone number but do not complete verification.
  3. Create a second account and try to add the same phone number.
  4. 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.

More from Edmodo

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.