sigh spicerack.gg is dead*. At least it safes me the effort of continously tryin...
nyan (am 40c3 vorglühen) @nyanbinary@infosec.exchange
sigh spicerack.gg is dead*. At least it safes me the effort of continously trying to reach the dev to fix their freaking vulns & them ignoring every reporting path.
*: https://nitter.net/evan_mtg/status/2059743058451660850#m
Anyway, now that it's dead, here was a fun list of things I found while poking at it:
/api/event-statuses/fetch_by_match_id/?match_id=$IDcontains all profile data for a user, incl. address, email, ... . It can also be accessed by any admin in any organisation (which any user can just create), especially as match_ids are sequential & numeric./api/organization-invites/just contains the invite hash for all invites & can be accessed by anyone. Thats all you need to accept non-personalized invites btw./api/communications/is accessible by anyone & contains all draft, active, and past org communications (unless explicitly deleted). Fortunately very few orgs used that feature, lmao. For future findings: Communications are a way to send emails to users as $orgname@spicerack.gg or something./api/communications/$COMMUNICATIONID/test_send/allows any target email for test sends (instead of just your own email, as intended) & has no ratelimiting. Have fun spamming.- Normally email communication from spicerack is limited through the
communication_limitvalue for the org. This, however, can just be set by an org admin by posting a PATCH to/api/store-profiles/$STOREID/. - Org names don't have to be unique. Orgs can send email communications to any users (not just THEIR users). As such you can just impersonate another org & send a phishing email as spicerack to their users.
/api/magic-events/$EVENTID/decklists_by_user_event_status/allows you to see other players decks prior to the tournament & even prior to the submission deadline, so you could tailor your deck/sideboard to whatever tournaments meta./api/decklists/$DECKINSTANCEID/doesn't do any authorization checks, you can absolutely modify other players deck list submissions.- API keys dont appear to be revokable or rotateable.