CSRF in Inviting users
The user-invitation feature performed its action through a GET request, so a crafted page could silently trigger an invitation when a logged-in victim opened it. An attacker could add their own email address to the victim's organisation, gaining internal access.
Originally disclosed on HackerOne
- Triaged in 24 hours
- Fixed in 6 months
- Paid in 12 days
- Disclosed after 13 months
NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
Summary: [add summary of the vulnerability] When a user is invited, a GET request is made. This can be used with a CSRF attack.
Description: [add more details about this vulnerability] User invitations usually should be done through a POST request. In this case the app uses a GET request. For example: https://ort-admin.pingone.com/web-portal/ajax/user/directory/inviteuser/[email protected]&[email protected] Which allows inviting another user easily.
Steps To Reproduce:
(Add details for how we can reproduce the issue)
- Download the attached html.
- Open it in a logged in browser.
- It should invite my email to the website.
Supporting Material/References:
- List any additional material (e.g. screenshots, logs, etc.)
Impact
Adding other users easily. Gives internal access.
The hacker selected the Cross-Site Request Forgery (CSRF) weakness. This vulnerability type requires contextual information from the hacker. They provided the following answers:
URL https://ort-admin.pingone.com/web-portal/usermanagement#/
Verified Yes
Can a victim be forced to perform a sensitive state-change operation unknowningly? Yes
What state-change operation can be performed? Adding users.
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
The invitation action was handled by a GET request rather than a POST request protected against cross-site forgery.
Impact
An attacker could add their own account to the victim's organisation, which the reporter says gives internal access.
What the attacker needed
Victim is logged in; victim opens attacker's page
The fix
The invitation should be performed with a POST request rather than a GET request.
How it was found
- Download the provided HTML file.
- Open it in a browser where the victim is logged in.
- The attacker's email address is invited to the site.
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 CSRF attack tricks a logged-in user's browser into sending a request the user did not intend. Here the invite action was triggered by simply loading a web address, so a page the attacker controls could make the victim's browser send that request and add the attacker's email to the account.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.