Stored XSS in Application menu via Home Page Url
The application list page did not safely handle the home page URL field, allowing a stored cross-site scripting payload to be saved. When another user or admin opened the application for editing, the script executed in their browser.
- Triaged in 6 days
- Fixed in 6 months
- Paid in 12 days
- Disclosed after 9 months
Summary by the program
There is a stored XSS vulnerability in the Application List page for the Connections module in https://console-staging.pingone.com/
Steps To Reproduce:
- Login to https://console-staging.pingone.com/ and navigate to Connections / Applications
- Add a new Application. Pick Native App, pick a name and leave all the defaults.
- Go to the application list, where your new app should now be visible.
- Add a home page url and save, and intercept the request.
- In the intercepted request replace the just added home page url with a XSS payload (for example "https://0-a.nl/<svg/onload=alert(document.domain)>"), and forward the request.
Result
When another user / admin visits this application in the Application List and clicks the pencil to edit, the payload fires.
Impact
If an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user. Amongst other things, the attacker can:
- Perform any action within the application that the user can perform.
- View any information that the user is able to view.
- Modify any information that the user is able to modify.
- Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.
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 home page URL value was stored and later rendered into the edit page without proper output encoding or validation.
Impact
An attacker could fully compromise a victim user's session and perform actions, view or modify information, and interact with other users as that victim.
What the attacker needed
An account able to create applications; ability to intercept and modify requests; victim opens the app for editing
How it was found
- Log in to the console and go to Connections / Applications.
- Create a new Native App with a name and default settings.
- Open the application list where the new app appears.
- Add a home page URL, save, and intercept the request.
- Replace the home page URL with an XSS payload and forward the request.
- Have another user or admin open the app for editing to trigger the payload.
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 stored cross-site scripting bug means a malicious value saved on the server is later shown to other users without being made safe. Here the home page URL field accepted a value containing a script, and that script ran in the browser of anyone who opened the app for editing. This lets the attacker act as the victim inside the application.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.