Skip to content
CSRF Disclosed report Beginner

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.

rijalrojan Follow

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)

  1. Download the attached html.
  2. Open it in a logged in browser.
  3. 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.

The original report as published on HackerOne, by rijalrojan. 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

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

  1. Download the provided HTML file.
  2. Open it in a browser where the victim is logged in.
  3. 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.

More by rijalrojan

View all

17 more disclosed reports, best first.

More from Ping Identity

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.