Skip to content
XSS Write-up Beginner

Reflected XSS on ASUS

The search page on an ASUS press subdomain reflected the search term back into the page without proper encoding, so a crafted link could run script in a visitor's browser. An attacker could use such a link to execute JavaScript in the context of the site for anyone who opened it.

Thejus Krishnan Follow

Published on medium.com

Hy this is Thejus Krishnan, This article on my recent finding of ASUS Web Application Vulnerability which was affected by cross Site Scripting.

Thejus Krishnan, 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 parameter was echoed into the HTML response without output encoding or sanitisation.

Impact

An attacker could run script in a victim's browser on the ASUS press site by getting them to open a crafted search link, though the text gives no detail on what that script could then do.

What the attacker needed

Victim opens a crafted search link

The fix

The issue was fixed after the author reported it to the ASUS security team.

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.

A reflected cross-site scripting (XSS) bug means a website takes something you typed, such as a search word, and puts it straight back into the page without cleaning it. If that text includes code the browser understands, the browser runs it as if the site itself had written it. Here, a specially built search link made the site run the author's script.

What is XSS?

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

More from Asus

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.