IDOR - Delete technical skill assessment result & Gained Badges result of any user
The web app allowed an attacker to delete any user's technical skill assessment result and badge by replaying a DELETE request with the victim's profile ID and a brute-forced skill ID. The victim's profile ID was publicly available in the page source of their public profile.
- Triaged in 25 hours
- Fixed in 2 months
- Paid in 48 hours
- Disclosed after 4 months
The web app is vulnerable to IDOR at DELETE /voyager/api/voyagerAssessmentsDashSkillAssessmentAttemptReports/urn%3Ali%3Afsd_skillAssessmentAttemptReport%3A(urn%3Ali%3Afsd_profile%███%2Curn%3Ali%3Askill%3A280%2C1) HTTP request. Allows an attacker to delete the skill assessment result of any user's technical skill. This can be done by replaying the request using the victim's 'profileId' which can be obtained from the page source of the victim's public profile and the skill id which is a numeric identifier that can be brute-forced.
###The Profile UUID can be obtained from the page source of the victim's public LinkedIn profile and the skill id can be brute-forced with the threshold of 3 requests in burp intruder.
###Steps to reproduce:
- log in to an account.
- Give an assessment say HTML or PowerPoint.
- After completing the assessment go to - https://www.linkedin.com/skill-assessments/hub/quizzes/?channel=JOBS_HOME_NAVIGATION_BAR
- If the assessment is successful then click on the
Badgebutton of your assessment else click on the `to retake ``button(https://www.linkedin.com/skill-assessments/hub/reports/?channel=JOBS_HOME_NAVIGATION_BAR&resultType=TO_RETAKE). - Click on the Kebab menu icon and then click on the delete results button.
- Intercept the vulnerable request.
- Change the 'fsd_profile' profile parameter value with the victim's profile UUID
(this can be obtained from the page source of the victim's public profile page as shown in video POC)and send the request to the intruder. - Now brute-force the value of 'skill id' (Keep frequency 3). The victim's skill will get deleted.
████
###Video POC: ███████
###Vulnerable Request:
DELETE /voyager/api/voyagerAssessmentsDashSkillAssessmentAttemptReports/urn%3Ali%3Afsd_skillAssessmentAttemptReport%3A(urn%3Ali%3Afsd_profile%███████%2Curn%3Ali%3Askill%3A280%2C1) HTTP/2
Host: www.linkedin.com
Impact
An attacker can delete the badges and skill assessment results from any public LinkedIn profile by replaying the request using the victim's UID and skill id. The UID is publically available in the page source.
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 server did not verify that the authenticated user owned the profile and skill assessment referenced in the DELETE request, allowing any user to delete another user's assessment result by changing the profile ID and skill ID.
Impact
An attacker could delete the badges and skill assessment results from any public LinkedIn profile by replaying the request using the victim's UID and skill id.
What the attacker needed
A free account; victim has a public profile; victim has completed a skill assessment
How it was found
- Log in to an account and complete a skill assessment.
- Go to the skill assessments hub and click the Badge or retake button for the assessment.
- Open the kebab menu and click delete results, then intercept the request.
- Replace the profile parameter with the victim's profile UUID obtained from their public profile page source.
- Send the request to the intruder and brute-force the skill ID with a frequency of 3.
- The victim's skill assessment result is deleted.
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.
An IDOR (Insecure Direct Object Reference) is when a website lets you change an identifier in a request to access or modify someone else's data. Here, the request to delete a skill assessment result contained the user's profile ID and a skill ID, and the server did not check that the person making the request owned that profile. By swapping in a victim's public profile ID and guessing the skill ID, an attacker could delete the victim's assessment results and badges.
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.