Skip to content

0xBenCantCode/Scratched

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scratched

One-Click itch.io Account Takeover via XSS and OAuth

Details

The markdown editor within itch.io was vulnerable to XSS in edit mode.
When a user accepts an admin invite to a project, they are automatically redirected to the project's home page in edit mode.

This vulnerability allowed an attacker to embed a malicious script in the game’s description, which would make a request to the attacker's GitHub OAuth callback URL—effectively linking the victim's itch.io account to the attacker's GitHub account.

Exploit Flow

  1. Attacker creates a malicious project
  2. Sends an admin invite to the victim
  3. Victim accepts (one-click takeover)
  4. Payload executes automatically
  5. Attacker's GitHub account is linked to the victim's itch.io account

Demo

demo.mp4

Disclaimer: Bug has been patched and itch.io agreed to public disclosure

About

One-click itch.io account takeover via XSS and Oauth.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published