Skip to content
CSRF Disclosed report Beginner

CSRF that makes any user send invitations to the attacker by simply clicking on a link.

A cross-site request forgery flaw in LinkedIn's connection invitation endpoint meant that a crafted link could make any logged-in member send a connection invitation to the attacker. The victim only had to click the link; no confirmation step was shown.

marvelmaniac Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 3 days
  • Fixed in 4 months
  • Paid in 7 days
  • Disclosed after 7 months

Summary by the program

The researcher found a CSRF issue that allowed targeted links (intended and usable only by a single member) to send connection invitations once clicked on without any prompt/intermediary step to confirm such action. Thank you @marvelmaniac for the report!

Summary by the researcher

The PoC link was as follows -

https://www.linkedin.com/comm/mynetwork/send-invite/<USERNAME>/?lipi=urn:li:page:email_email_pymk_02;3MPU3ZpvSH6FxK37sN6PTA==&midSig=1H88TLaeqmRWI1&midToken=AQGOWzyQBc3Qug&trkEmail=eml-email_pymk_02-pymkCard-0-cta-null-h3akrx~lguw0uex~xs-null-null&trk=eml-email_pymk_02-pymkCard-0-cta&_sig=0y-j3QtmmmRWI1

Here the <username> is the Public Profile URL name. It was possible to make any user send connection invites to ourselves by simply providing them with the above crafted link.

The original report as published on HackerOne, by marvelmaniac. 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 invitation endpoint accepted a state-changing GET request without a per-request anti-CSRF token or an explicit user confirmation step.

Impact

Any logged-in member who clicks the link could be made to send a connection invitation to the attacker.

What the attacker needed

Victim is logged in; victim clicks the crafted link

How it was found

  1. Craft a link to the invitation endpoint containing the attacker's public profile name and the tracking parameters.
  2. Send the link to the target member.
  3. The member clicks the link and an invitation is sent to the attacker without any confirmation.

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 are logged in to a site, your browser automatically sends your session cookie with every request to that site. Cross-site request forgery (CSRF) tricks your browser into making a request you did not intend, such as sending an invitation, just because you clicked a link. Here the invitation action had no extra confirmation, so a single click was enough.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by marvelmaniac

View all

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

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.