Skip to content
XSS Write-up Beginner

My recon methodology for hunting CVE-2021–42063 led to discovering an RXSS vulnerability in the…

A reflected cross-site scripting vulnerability (CVE-2021-42063) existed in the SAP Knowledge Warehouse component on partner.tataplay.com. An attacker could execute scripts in a user's browser, potentially stealing sensitive information or hijacking the user's session.

Karthikeyan.V Follow

Published on medium.com

During one of my bug bounty hunting sessions, I came across an interesting vulnerability: CVE-2021–42063. Let me walk you through how I found this bug and explain the steps I followed.

Karthikeyan.V, 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 SAP Knowledge Warehouse component failed to properly encode or sanitise user-supplied input before reflecting it back in a web page.

Impact

An attacker could execute scripts in a user's browser, potentially stealing sensitive information or hijacking the user's session.

What the attacker needed

Victim visits a crafted link; target runs vulnerable SAP Knowledge Warehouse

How it was found

  1. Enumerate subdomains of the target domain using subfinder and subsleuth.
  2. Combine and deduplicate the subdomain results, then repeat enumeration to find more subdomains.
  3. Scan the discovered hosts for open ports and identify live web servers with httpx.
  4. Run the CVE-2021-42063 detection tool against the list of live URLs.
  5. The tool flagged partner.tataplay.com as vulnerable to the reflected XSS.

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) is a bug where a website takes something a user typed or clicked (like a link) and sends it back to the browser as part of the page without cleaning it first. If that something contains code, the browser runs it as if the site itself had written it. This lets an attacker run their own script in the victim's browser, which can then read or change things the victim can see on that 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 Karthikeyan.V

View all

1 more disclosed report, 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.