SQLi at █████ parameter
An unauthenticated items endpoint accepted POST requests without CSRF validation and was vulnerable to SQL injection, allowing attackers to run arbitrary SQL commands and extract database metadata. The same endpoint also had stored XSS through the description parameter and no authentication controls.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 12 days
- Disclosed after 7 months
Summary by the program
A critical SQL injection vulnerability was discovered in an items endpoint that accepted unauthenticated POST requests without CSRF validation. The vulnerability allowed attackers to execute arbitrary SQL commands, extract database metadata including PostgreSQL version and user accounts, and perform time-based blind injection attacks. Additional security issues included stored XSS through the description parameter and complete lack of authentication controls. The endpoint was successfully exploited to reveal database schema information and demonstrate data injection capabilities. The vulnerability was promptly remediated by the security team, and we appreciate the thorough research and responsible disclosure provided by the security researcher.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint built SQL queries from user-supplied input without parameterisation, and also stored the description field without sanitisation.
Impact
An unauthenticated attacker could execute arbitrary SQL commands, extract database metadata and user accounts, and inject stored script through the description field.
What the attacker needed
No authentication required; endpoint accepts POST requests
The fix
The vulnerability was promptly remediated by the security team.
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 report has not been written yet. The Original tab links to the source.
SQL injection is when user input is inserted into a database query without proper handling, so an attacker can change the query's meaning. Here, an endpoint that anyone could reach without logging in let an attacker read database details such as the PostgreSQL version and user accounts. The same endpoint also stored unsafe content in a description field, which could run script in other users' browsers.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.