How i got easy multiple RXSS
A reflected cross-site scripting vulnerability was found in a URL parameter because the value was echoed into the page without filtering. An attacker could craft a link that runs JavaScript in a victim's browser on the affected site.
Assalamualaikum , guys! my name is Abdelrahem mekky (0xmekky) I have found multiple Reflected XSS vulnerabilities
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 a URL parameter value into the HTML response without encoding or validation.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser on the affected subdomains, which could lead to actions such as stealing session data or performing actions as the victim, though the text does not demonstrate these consequences.
What the attacker needed
Victim clicks a crafted link
How it was found
- Collect subdomains of the target.
- Gather endpoints from Wayback Machine and Common Crawl.
- Remove duplicate endpoints.
- Filter endpoints that have parameters likely vulnerable to XSS.
- Find parameters whose values are reflected in the response.
- Manually test the reflected parameter by injecting a JavaScript payload and confirm it executes.
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.
Reflected cross-site scripting (XSS) happens when a website takes something from the URL and puts it straight into the page without cleaning it. If that something is JavaScript code, the browser runs it as if the site itself had written it. An attacker can then send a prepared link to someone, and when that person clicks it, the code runs in their browser on the real site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.