SQL Injection intensedebate.com
The acctid parameter on an import status endpoint was vulnerable to SQL injection, allowing an attacker to run arbitrary SQL against the backend database. The reporter used an automated tool to confirm boolean-based and time-based blind injection and to list the available databases.
- Paid in 6 days
- Disclosed after 10 days
hello dear support
I have found SQL Injection on intensedebate.com parameters injectable ?acctid=1 URL:https://www.intensedebate.com/js/importStatus.php?acctid=1
I'm used sqlmap to injection command sqlmap --url https://www.intensedebate.com/js/importStatus.php?acctid=1 --dbs

available databases [3]: [] heartbeat [] id_comments [*] information_schema
Parameter: acctid (GET) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: acctid=1 AND 1726=1726
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: acctid=1 AND (SELECT 8327 FROM (SELECT(SLEEP(5)))yrDl)
Impact
An attacker can use SQL injection it to bypass a web application's authentication and authorization mechanisms and retrieve the contents of an entire database. SQLi can also be used to add, modify and delete records in a database, affecting data integrity. Under the right circumstances, SQLi can also be used by an attacker to execute OS commands, which may then be used to escalate an attack even further.
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 acctid GET parameter was concatenated into a SQL query without parameterisation or validation.
Impact
An attacker could read the contents of the entire database and potentially add, modify or delete records, and under the right circumstances execute operating system commands.
What the attacker needed
None
How it was found
- Open the import status endpoint with the acctid parameter set to a normal value.
- Run an automated SQL injection tool against that URL to enumerate databases.
- Observe that the tool identifies boolean-based blind and time-based blind injection in the acctid parameter.
- Read the list of available databases returned by the tool.
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.
A website often builds database queries by pasting user input, such as a number from the address bar, directly into the query. If that input is not handled safely, an attacker can add extra database instructions and make the site return or change data it should not. Here the acctid value was placed into a query without proper protection, so the reporter could ask the database questions and read its answers indirectly.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.