Skip to content
IDOR Disclosed report Intermediate

An Attacker Can Flag Draft Job Posts And Can Disclose The Draft Job Posts Details [ Similar to #1581528 Resolved Report]

A user could report another user's unpublished draft job post by changing the job identifier in the report request, even though the draft itself was not viewable. The reporter then received a notification from the trust and safety team that disclosed details of the draft job post.

tushar6378 Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 3 days
  • Fixed in 12 months
  • Paid in 3 days
  • Disclosed after 12 months

During the security assessment, It has been observed that the Job posts ID is numerical, while testing I came across an endpoint where a user can report the job posts of other users. The business logic error is present where an attacker can report the draft job posts of other users. After reporting the draft posts, the attacker receives a notification from LinkedIn about the reported job posts disclosing some details of the draft job posts ( which are not even published yet) .

Also, Report: #1581528 is similar, and it is resolved, but in my case, I was still able to report the draft jobs.

##Steps:

  1. Login into the account and go to job posts like https://www.linkedin.com/jobs/view/██████/.
  2. Open any draft job https://www.linkedin.com/jobs/view/██████████/ It will give the error something went wrong.
  3. Report the posted job and intercept the vulnerable request.

██████████ 4) Forward the job using the draft jobid- █████. The report will get submitted without any error

███ 5) After some time, the attacker receives the notification from Trust and Safety Team ( We’ve reviewed your report) . Disclosing the job details of the job posts.

█████████

Vulnerable Request:

POST /lite/flag-content?contentUrn=urn:li:jobPosting:██████████&reason=SPAM_CONTENT&contentSource=JOBS_PREMIUM_OFFLINE&authorProfileId=0&trk=report-content HTTP/2
Host: www.linkedin.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Csrf-Token: ajax:███
X-Isajaxform: 1
Origin: https://www.linkedin.com
Referer: https://www.linkedin.com/jobs/search/?currentJobId=████████
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Content-Length: 0
Te: trailers

Impact

An attacker can report any draft job and can access the details of the job, like : job name of the company, etc details.

The original report as published on HackerOne, by tushar6378. 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 report endpoint accepted any job posting identifier without checking that the post was published or visible to the reporting user, and the follow-up notification then echoed draft details back.

Impact

An attacker could flag other users' unpublished draft job posts and learn details such as the company name from the resulting notification.

What the attacker needed

A logged-in account; knowledge of a draft job identifier

How it was found

  1. Log in and open a job post page.
  2. Open a draft job page, which shows an error.
  3. Report a published job and intercept the request.
  4. Replace the job identifier with the draft job's identifier and forward the request.
  5. Wait for the trust and safety notification, which reveals draft job details.

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 draft job post is one the owner has not published yet, so other people should not be able to see or interact with it. Here the report button accepted the identifier of a draft post, and the reply message afterwards revealed some of its contents. The mistake is that the report feature did not check whether the post was published or belonged to the person reporting 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 tushar6378

View all

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