Skip to content
IDOR Disclosed report Beginner

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.

071018 Follow

Originally disclosed on HackerOne

  • 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.

The original report as published on HackerOne, by 071018. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Upload an image or video to a draft, which gets a sequential ID.
  2. Send a request to the preview feature API with that attachment ID.
  3. Modify the attachment ID in the request to another user's ID.
  4. 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.

More by 071018

View all

2 more disclosed reports, best first.

More from LY Corporation

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.