Asus Cross Site Scrpting And Directory Listing Vulnerability
A reflected cross-site scripting flaw existed in a time parameter on an Asus subdomain, and several directories lacked index pages and were publicly listable. An attacker could run script in a victim's browser or browse exposed files.
Published on web.archive.org
{{media:0}}
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 time parameter was written into the page without encoding, and the server was configured to list directories that had no index page.
Impact
An attacker could execute script in a victim's browser to read cookies or session tokens, and could browse directory contents to find sensitive files.
What the attacker needed
Victim clicks a crafted link; directory listing enabled
The fix
The XSS was fixed according to the report; directory listing should be disabled and sensitive files access-controlled.
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) lets an attacker slip their own JavaScript into a page that other people trust, so the victim's browser runs it as if it came from the site. Directory listing means the web server shows a list of files in a folder instead of a normal page, which can reveal files that were not meant to be seen.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.