No Security check at changing password and at adding mobile number which leads to account takeover and spam
The settings page allowed a password change without asking for the current password, and allowed adding or changing a mobile number without any SMS or call verification. An attacker with brief access to a logged-in session could take over the account, and anyone could send Khan Academy messages to arbitrary phone numbers.
Originally disclosed on HackerOne
- Disclosed after 48 hours
#Description
I have noticed that there is no security check at changing password. If someone gets a logged in account for 5 seconds, they are extremely likely to change the password of the account with the knowledge of the victim. also, while adding a mobile number / changing a mobile number, there is no sms / call verification which leads to spamming of any user using Khan Academy as source.
Since there is no sms verification, I could spam anyone (not necessarily khan academy user) with khan Academy notifications.
#Steps to reproduce
- Click on the name of the profile on top right.
- Select settings in the drop down menu.
- Change the password by just entering the new password, without knowing anything.
- Add the mobile number (if already entered, change ) of your choice, since there is no security check, they will be spammed by khan academy messages.
#Impact
Lack of security check at password change leaves a vulnerability open to attackers to change the password without knowing anything about the user. Lack of verification of mobile while adding / changing mobile number leaves every mobile user open for spamming via Khan Academy.
#Screen shots/ References
███ F162091
Attachments

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 password-change and phone-number endpoints did not require re-authentication or proof of ownership of the new number.
Impact
An attacker with brief access to a logged-in account could change its password and take it over, and could send Khan Academy messages to any phone number.
What the attacker needed
Brief access to a logged-in session; a phone number to target
How it was found
- Open the profile menu in the top right.
- Choose settings from the menu.
- Submit a new password without providing the old one.
- Add or change a mobile number without any verification.
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 change your password, a safe site asks for your old one first, so that someone who briefly grabs your open session cannot lock you out. Here that check was missing, so a short moment of access was enough to set a new password. Separately, the site let you attach any phone number without proving you own it, so it could be used to send unwanted texts to strangers.
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.