Skip to content
XSS Disclosed report Beginner

The URL in "Choose a data source'' at "https://bi.owox.com/ui/settings/connected-services/setup/" is not filtered => reflected XSS.

A reflected cross-site scripting flaw existed in the analytics callback path of the connected-services setup page, where the URL segment was not filtered. An attacker could send a crafted link that, once the victim logged in, executed script in the victim's browser.

imthehackerlor Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 5 hours
  • Disclosed after 30 days

Hi team, This is another report with #732987. Because it is completely independent

Detail

In the process of selecting the data source at https://bi.owox.com/ui/settings/connected-services/setup/, I found a reflected XSS. Specifically, when you click on Google Analytics, a page will appear for you to enter Gmail. After completing the steps, an error link will appear during the redirect (Screenshot) ███

Vulnerable area:

/analytics/ The URL will now be: https://bi.owox.com/ui/callbacks/google-supervisors/analytics%3Cimg%20src=xss%20onerror=prompt(1)%3E/?state=d159b8264eef78b11afdd016531b128c&code=4/tAFEdKitWAD6NCxUfXRT4NMTLMnzMwHeDlac-un9ecDEce9Ts2EZ6_pN-giK_3uzKVeRS9rYuAnbihIaXRFfkvE&scope=email%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/analytics%20https://www.googleapis.com/auth/analytics.edit%20https://www.googleapis.com/auth/analytics.readonlyopenid&authuser=3&session_state=c7730a7cbcf834250345c43eaa83103ec536e3a4..3ebd&prompt=consent

Tested browser

Firefox Chrome

PoC

  • Note: I have shortened the URL to facilitate testing.

1, go to https://bi.owox.com/ui/callbacks/google-supervisors/analytics%3Cimg%20src=xss%20onerror=prompt(1)%3E/?state=d159b8264eef78b11afdd016531b128c 2, Log in and XSS will execute ██████

Impact

This vulnerability is aimed at all victims. Just paste this URL and login, XSS will automatically execute. Therefore, it will have a high impact, because before XSS is executed, the application will ask the user to login.

  • The attacker can execute JS code.

Documents related to Impact -- https://portswigger.net/web-security/cross-site-scripting/reflected https://portswigger.net/web-security/cross-site-scripting/exploiting

Best regards, @dat

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

Impact

An attacker could run JavaScript in a logged-in victim's browser, though the victim must first log in for it to fire.

What the attacker needed

Victim opens a crafted link; victim logs in

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.

Cross-site scripting (XSS) is when a website puts something an attacker controls into a page without cleaning it, so the attacker's instructions run in the visitor's browser. Here the part of the web address after 'analytics' was placed into the page unfiltered, so a link could carry a small script. The victim only had to open the link and log in for it to run.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by imthehackerlor

View all

1 more disclosed report, best first.

More from OWOX, Inc.

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.