Skip to content
IDOR Write-up Beginner

[Responsible Disclosure] How we could have deleted any Linkedin post

The delete post API on LinkedIn's mobile website lacked proper authorization checks, allowing an attacker to change the objectUrn parameter to any post's public ID and delete it using their own session. This could have let attackers remove important content from individual or company profiles.

Anand Prakash Follow

Published on pingsafe.com

Bounty$10,000 View original

We discovered a security issue on LinkedIn that could delete any post of an individual or company profile. Upon discovering the vulnerability, we reported the security issue immediately to Linkedin’s security team through their bug bounty program.

Anand Prakash (@anandpraka_sh), on pingsafe.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The delete post API request on the mobile website lacked proper authorization checks, allowing an attacker to change the objectUrn to any post's public ID and delete it using their own session.

Impact

If left unaddressed, this vulnerability could have been exploited to remove important content, such as individual/company posts, causing significant damage to individuals or companies.

What the attacker needed

A LinkedIn account; knowledge of the victim's post ID; ability to send custom HTTP requests

The fix

LinkedIn's security team investigated and patched the vulnerability, preventing further exploitation.

How it was found

  1. Use Burp Suite to record the vulnerable request using your own session.
  2. Modify the objectUrn in the vulnerable request to that of the victim's post-activity ID.
  3. Replay the modified request using Burp Suite. The post will be deleted from the victim's account.

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 write-up has not been written yet. The Original tab links to the source.

When you delete a post, the website sends a request to the server telling it which post to delete. The server should check that you actually own that post before deleting it. Here, it did not check, so anyone could change the post identifier in the request to someone else's post and delete it.

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 Anand Prakash

View all

6 more disclosed reports, best first.

More from LinkedIn

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.