Improper Access Control in LINE Timeline API that returns a list of hidden friends
An API endpoint for LINE Timeline had an insufficient access control check, allowing an attacker to retrieve a hidden list of any LINE user by specifying their internal ID. This exposed part of the social graph and user preferences.
- Triaged in 1 hour
- Fixed in 2 hours
- Paid in 29 days
- Disclosed after 7 months
Summary by the program
Due to an insufficient access control check in an API endpoint for LINE Timeline function, it was possible for an attacker to retrieve a hidden list of any LINE users. Users can configure the hidden list not to show someone's post on their Timeline. Using this vulnerability, an attacker can get a part of the social graph and access to user's preferences. We would like to thank @66ed3gs for his clear proof of concept using his own test accounts.
Summary by the researcher
Due to insufficient access control, hackers were able to obtain hidden lists of others by specifying their internal ID.
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 API endpoint did not verify that the requesting user was authorised to view the target user's hidden list, relying only on the internal ID supplied in the request.
Impact
An attacker could obtain part of a user's social graph and their privacy preferences, though the text does not state how many users or what further actions were possible.
What the attacker needed
Knowledge of a target's internal ID
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.
A hidden list is a setting where a user blocks certain people from seeing their posts. The app's server did not properly check whether the person asking for that list was allowed to see it. So anyone who knew a user's internal ID could ask the server for that private list and get it back.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.