Access to images and videos in drafts on LINE BLOG
A flaw in the attachment ownership check on LINE BLOG allowed an attacker to view unpublished images and videos in other users' drafts by changing the attachment ID in a preview API request. The sequential IDs made it possible to guess other users' attachments.
- Triaged in 39 hours
- Fixed in 2 months
- Paid in 7 days
- Disclosed after 5 months
Summary by the program
On LINE BLOG, sequential ID is assigned to each image/video when uploaded, and the ID is converted to actual URL on preview/publish. Due to the bug in the attachment ownership verification process, it could be possible for an attacker to view unpublished images/videos in other users' drafts by modifying the attachment ID in the request sent to preview feature API.
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 preview API did not properly verify that the requested attachment belonged to the requesting user, and sequential IDs made other attachments easy to guess.
Impact
An attacker could view unpublished images and videos in other users' drafts, but only if they could guess or obtain the sequential attachment ID.
What the attacker needed
Knowledge of a target attachment ID
How it was found
- Upload an image or video to a draft, which gets a sequential ID.
- Send a request to the preview feature API with that attachment ID.
- Modify the attachment ID in the request to another user's ID.
- View the unpublished image or video in the response.
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.
When you upload a picture to a blog, the site gives it a number. The site is supposed to check that you own the picture before showing it to you. Here, that check was broken, so someone could change the number and see pictures from other people's unfinished blog posts.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.