Take over of accounts created using Google or Facebook
Critical
K
Khan Academy
Submitted None
Actions:
Reported by
tomoh
Vulnerability Details
Technical details and impact analysis
When a user creates an account using Google or Facebook and does not set an additional password, it is possible to set their passwords via CSRF.
Since the account is created using a social media account, no existing password check is needed and the CSRF check on the endpoint is broken.
To reproduce, create an account with Google or Facebook and make account load the attached HTML file. You should now be able to login to the account with password=ATTACKER_PASS.
## Impact
An attacker can take over of accounts created using Google or Facebook.
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Submitted
Weakness
Cross-Site Request Forgery (CSRF)