Skip to content
XSS Write-up Beginner

How I found a surprising XSS vulnerability on oracle netsuite

A reflected cross-site scripting flaw existed in the NetSuite search page because a query parameter was reflected into the page without proper encoding. An attacker could craft a link that, when opened and combined with a keyboard shortcut, ran script in the victim's browser on the search domain.

Circle Ninja Follow

Published on medium.com

I was going around hunting and penetrating websites trying to get a few more bucks to save in my pocket which I later use to pay my college fees when I came across this wonderful vulnerability in Oracle Netsuite.

Ronnie Joseph, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the search page reflected a request parameter into HTML without encoding it, allowing injected attributes and an event handler.

Impact

Script could run in the victim's browser on the search domain, but only after the victim opened the crafted link and pressed a specific keyboard shortcut.

What the attacker needed

Victim opens crafted link; victim presses a keyboard shortcut

The fix

The search functionality was removed and the bug was fixed within a week.

How it was found

  1. Open the NetSuite search page and try simple payloads in the search bar.
  2. Craft a link where a parameter contains injected attributes and an event handler.
  3. Send the link to a victim.
  4. The victim opens the link and presses the keyboard shortcut, which fires the script.

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 write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website puts text from a link into its own page without cleaning it, so an attacker can slip in code that the browser runs. Here the search page echoed a crafted value back, and the code only ran when the victim pressed a keyboard shortcut. That let the attacker run their own script as if it came from the site.

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 Circle Ninja

View all

7 more disclosed reports, best first.

More from Oracle

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.