Skip to content
SQL injection Write-up Intermediate

The $2,000 SQLi Story: Hours, Payloads, and Pure Stubbornness

A SQL injection vulnerability was found in a third-party processing system's application form, where the backend did not properly sanitise input in the POST model. An attacker could potentially manipulate database queries, though the text does not specify the exact impact or data accessed.

medium.com

Published on medium.com

During one of my recent bug bounty sessions, I came across a particularly interesting SQL Injection vulnerability in a third-party processing system integrated with a major company.

Erkan Kavas, 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 application failed to sanitise or parameterise user input before using it in SQL queries.

Impact

The vulnerability was part of a real financial flow, but the text does not specify what data could be accessed or modified; the author states no data was accessed during testing.

What the attacker needed

Access to the application form; third-party system integrated with a major company

The fix

The issue was fixed after responsible disclosure.

How it was found

  1. Tested the form with basic payloads and observed unusual but error-free responses that changed subtly with input.
  2. Switched to structured testing with custom-crafted requests and tamper techniques to trigger clear signs of an injectable parameter.
  3. Used payload encoding, stacked queries, and WAF bypasses to gain more insight into the backend structure.

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.

This report describes a SQL injection, a type of bug where user input is inserted into database commands without proper cleaning. The author found that a form on a third-party system behaved oddly when special characters were entered, suggesting the input was reaching the database. By trying different encodings and tricks, they confirmed the injection was possible.

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.