GHSL-2025-126_GHSL-2025-127: Unauthorized Mastodon account linking and domain creation in Lobsters
Lobsters had two flaws: a CSRF in the Mastodon OAuth callback allowed linking a victim's account to an attacker's Mastodon profile, and the domain creation endpoint lacked authentication, letting anyone create domain records. An attacker could thus associate arbitrary Mastodon accounts with victims and pollute domain data, potentially disrupting moderation.
Lobsters contained issues allowing unauthenticated users to create new domain entries and permitting Mastodon accounts to be linked to users without proper validation.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The Mastodon OAuth flow lacked a state parameter and session binding, and the domain creation action was missing the moderator authentication check applied to other actions.
Impact
Attackers could link any Mastodon profile to a victim's Lobsters account and create domain entries, potentially disguising malicious domains as trusted ones and disrupting moderation; only instances with Mastodon linking enabled were affected by the first issue.
What the attacker needed
Mastodon linking enabled (issue 1); Victim visits a crafted link (issue 1); No authentication needed (issue 2)
The fix
The issues were fixed by adding state validation to the OAuth flow and requiring moderator authentication for domain creation.
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.
This report describes two security holes in a link-sharing site. One let an attacker silently connect a victim's site account to the attacker's social media profile, and the other let anyone add new website entries to the site's database without logging in. Both could be abused to mislead other users or moderators.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.