Sql query disclosure,
The report parameter on a Trac query page echoed back the SQL query the site uses to fetch data from its database. An attacker could read that query to learn the database structure and use it to guide further attacks such as SQL injection.
- Disclosed after 5 days
Hi,
path:- https://trac.torproject.org/projects/tor/query?status=accepted&status=assigned&status=merge_ready&status=needs_information&status=needs_review&status=needs_revision&status=new&status=reopened&component=- Select a component&group=component&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&col=severity&col=time&col=points&col=reporter&col=keywords&desc=1&order=id&report=66
I have found that "In the report parameter, i can read out what the SQL query website uses to reveal out the information from the database which is really not good for your website, Now On your website attacker may be use heavy tools for finding other vulnerability like SQL injection by injection the malicious query in your web application, which can cause web application slow down.
Kindly hide this error.
Thank you
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 report parameter was passed through to the page and its generated SQL query was rendered back to the user without being hidden.
Impact
An attacker could learn the database query structure and use it to help find further vulnerabilities such as SQL injection, which the reporter says could slow the application down.
What the attacker needed
Access to the public query page
The fix
The error output showing the SQL query should be hidden from users.
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 a database question (a query) to fetch the data it shows on a page. Here the site displayed that query text back to the visitor instead of keeping it hidden. Seeing the query helps an attacker understand how the database is laid out, which makes later attacks easier.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.