Skip to content
SQL injection Write-up Beginner

pentest notes

The author found a SQL injection vulnerability in a web challenge by entering a single quote into a parameter, which caused an error confirming the flaw. An attacker could use this to manipulate database queries and extract data.

medium.com

Published on medium.com

approach — -> read all the downloaded files , understand the code and then start for hunting on the webiste for the flag ,

thorfinxvinland, 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

Impact

An attacker could exploit this SQL injection to read or modify database contents, though the text does not specify the extent.

What the attacker needed

Access to the downloaded files; valid credentials (user/123)

How it was found

  1. Visit the website and log in with the credentials found in the downloaded file.
  2. Navigate to the SQL injection challenge and click the first option to see the parameter name.
  3. Capture the request in Burp Suite and send it to Repeater.
  4. Enter a single quote in the parameter to confirm the vulnerability.

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.

A SQL injection happens when a website puts user input directly into a database command without cleaning it. By typing a special character like a single quote, the author made the database return an error, showing that the input was not handled safely. This could let an attacker read or change data in the database.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.