Able to detect if a user is FetLife supporter although this user hides their support badge in fetlife.com/conversations/{id} JSON response
A user's hidden supporter status was exposed in the JSON response of a conversation endpoint. An attacker could start a conversation and read the is_supporter field to learn whether the victim is a supporter, despite the victim's privacy setting.
Originally disclosed on HackerOne
- Triaged in 31 days
- Fixed in 32 days
- Paid in 31 days
- Disclosed after 2 months
UserA is a FetLife supporter, he also hides his support badge in his account privacy setting so that people don't know he is a supporter. However, UserB can start a conversation with userA, and by looking at is_supporter field in JSON response of their conversation . UserB knows that UserA is a FetLife supporter.
UserB get the following information of userA by requesting fetlife.com/conversations/{userA-userB-conversation-id}
"with_users":
[
{
"id": {id},
"nickname": "userA",
"is_supporter": true,
"show_badge": false,
"identity": "30F Switch",
"url": "/users/{id}",
"avatar_url": "{avatar_url}",
"role": "member",
"starts_at": 0,
"location": "Antarctica"
}
]
Full request and response: F1541333
Attack condition
For this attack to succeed, attacker needs to start a conversation with victim regardless of victim accepting conversation request or not. Therefore, this attack works with users who set their Inbox privacy settings to Open, Kinky,Hardcore
Step to Reproduce
- Prepare 2 accounts, userA and userB. UserA is a FetLife supporter.
- UserB goes to userA profile and start a conversation with userA from there
- UserB goes to
https://fetlife.com/inbox - UserB open browser Developer tool and open conversation he just started.
- UserB looks at Network tab and find the request
fetlife.com/conversations/{userA-userB-conversation-id}with JSON response - UserB sees
is_supporterfield to check if userA is a supporter or not.
Impact
Attacker can detect if a user is a FetLife supporter or not. This attack works on all users, except user with strict inbox privacy settings.
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 conversation API returned the is_supporter flag without checking the show_badge privacy setting.
Impact
An attacker could learn whether a user is a supporter, except when the victim uses strict inbox privacy settings.
What the attacker needed
Two accounts, one supporter; victim inbox not set to strict; attacker can start a conversation
How it was found
- Create two accounts, one a supporter and one not.
- From the non-supporter account, start a conversation with the supporter.
- Open the inbox and the new conversation with developer tools open.
- Find the conversation JSON request in the network tab.
- Read the is_supporter field to see the supporter status.
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.
FetLife lets supporters hide a badge so others cannot tell they pay for the site. The conversation page still sent a hidden true/false value saying whether the other person is a supporter. Anyone who started a chat could read that value and learn the secret.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.