Skip to content
XSS Write-up Beginner

Hacking Indian Government Finding Xss Sql Injection

The author used a Google dork to find Indian government websites with an 'id' parameter and claims to have found both cross-site scripting and SQL injection in the same parameter. The report does not provide any technical details, payloads, or reproduction steps, only the dork and a list of other dorks.

ʏᴀꜱʜʜ Follow

Published on infosecwriteups.com

it’s Yash Gurav from Pune, India! I’m a B.Com student with a 2-year passion for cybersecurity and bug bounties.

ʏᴀꜱʜʜ, on infosecwriteups.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

What the attacker needed

Target uses an 'id' parameter; target is an Indian government site

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.

The author searched Google for government websites that have a web address ending with a question mark and an 'id' value, which often means the site takes input from the user. They then tested that input and claim it was not properly checked, allowing them to inject code (cross-site scripting) or database commands (SQL injection). However, the post does not show how they did it or what exactly happened.

What is XSS?

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

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.