Skip to content
Access control Disclosed report Intermediate

Timeline API returns private post when target of a push notification

The timeline API returned a private post when it was the target of a push notification, even though the user lacked access. An attacker who knew or guessed a post ID could potentially retrieve private post content.

nightpool Follow

Originally disclosed on HackerOne

  • Fixed in 26 days
  • Paid in 30 days
  • Disclosed after 11 months

Summary:

If the user has the post ID of a private post, they're able to use the timeline API to retrieve it, even though they don't have access

Platform(s) Affected:

API

Steps To Reproduce:

  1. Receive an Android push notification targeting a post (e.g. "Look at what your tumblr crush @april posted")
  2. Between receiving and sending the push notification, have the post in question be set to private
  3. click on the push notification and have it open in the Android app (at the top of the timeline, showing the "From your fav" banner)
  4. see that the mobile app is able to successfully retrieve the post, but the post is marked as "private" and cannot be interacted with.

Supporting Material/References:

  • Attached see a screenshot of a private post rendered in the app after being returned by the API

Impact

Presumably, look up and receive any information based on a post ID regardless on if the post has been set to private or not. That is, at worst, full disclosure of private posts if the attacker has or can guess the post ID. Possibly there are some other required preconditions i'm not thinking about though.

Attachments

Screenshot_20231120-221426.png
Screenshot_20231120-221426.png From the original on HackerOne

The original report as published on HackerOne, by nightpool. 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 timeline API endpoint used for push notification targets did not enforce the post's privacy setting before returning its content.

Impact

An attacker who has or can guess a post ID could potentially retrieve private post content, though the report notes possible unconsidered preconditions.

What the attacker needed

Know or guess a post ID; post targeted by a push notification; post set to private after notification

How it was found

  1. Receive an Android push notification targeting a post.
  2. Set the post to private between receiving and sending the push notification.
  3. Click the push notification to open it in the Android app.
  4. Observe that the app retrieves the private post via the API.

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 private post should only be visible to its author. Here a push notification led the app to fetch the post through the timeline API, even though the user lacked access. Someone who knows the post's identifier might read hidden content.

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.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.