[VDP] Crashing your LinkedIn app with a connection request | by Hacking articles
The LinkedIn app did not enforce the 300-character limit on connection request messages server-side, allowing a user to send a much longer message via a modified request. Sending a very large message caused the Android app to crash when viewing the sent requests.
Published on infosecwriteups.com
So that was the early time when I joined LinkedIn and I didn’t know much about the working functionalities. I’ve used only Instagram in my life
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
Likely the server did not validate the length of the connection request message, relying only on client-side enforcement.
Impact
An attacker could send connection requests with excessively long messages, causing the LinkedIn Android app to crash when the victim views the sent invitations, resulting in a denial of service.
What the attacker needed
A LinkedIn account; ability to intercept HTTP requests (e.g., Burp Suite); victim uses the LinkedIn Android app
The fix
The issue was fixed by LinkedIn, likely by enforcing the character limit on the server side.
How it was found
- Open the connection request dialog and add a note longer than 300 characters.
- Use browser developer tools to change the maxlength attribute of the message field.
- Send the request; it fails because the server still enforces the limit.
- Intercept the request with Burp Suite and modify the message value to exceed 300 characters.
- Forward the request; the connection request is sent successfully.
- Send a request with a very large message (e.g., 100,000 characters) and open the sent invitations on an Android phone; the app crashes.
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.
The app had a rule that connection request notes could only be 300 characters long, but this rule was only checked in the app's user interface, not on the server. By intercepting and changing the request, the author could send a much longer note. When the app tried to display that huge note, it crashed.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.