Skip to content
XSS Write-up Beginner

Multiple Times I Hacked Duke University With RXSS Vulnerability!!!

A reflected cross-site scripting flaw existed in the Account Lookup function of a Duke University site, where the given name and family name fields were reflected into the response without proper sanitisation. An attacker could inject a script payload that would execute in a victim's browser.

Amit Kumar Follow

Published on amit-lt.medium.com

Duke University is my target.

Amit Kumar Biswas @Amitlt2, on amit-lt.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 application reflected user-supplied name fields into the HTML response without encoding or sanitising them.

Impact

An attacker could execute arbitrary script in a victim's browser, though the text does not describe any specific harm beyond the pop-up.

What the attacker needed

Victim visits a crafted link or submits a form; target uses the Account Lookup function

How it was found

  1. Find a Duke University login panel using a Google dork.
  2. Locate the Account Lookup function that asks for given name, family name and birth year.
  3. Enter a test string with angle brackets into the name fields.
  4. Observe the input reflected in the response body.
  5. Inject a script payload into the given name parameter and see it execute.

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 takes input from a user and puts it back on the page without cleaning it, so an attacker can sneak in code that runs in other people's browsers. Here, the name fields in a lookup form were shown back on the page unsafely, so a crafted name could run a 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 by Amit Kumar

View all

3 more disclosed reports, best first.

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.