SQL injection attack, querying the database type and version on Oracle
https://portswigger.net/web-security/sql-injection/examining-the-database/lab-querying-database-version-oracle

Let's filter for Accessories.

Since we are proxying the traffic through Burp Suite, we can go to the Proxy > HTTP History tab to view this request.

Let's forward the request to the Repeater for further modification.
Once in the Repeater, let's set the category parameter to the following:
' UNION SELECT 'test','test' FROM dual--
Now that we know there are two columns, we can set the category parameter to the following:
' UNION SELECT BANNER, NULL FROM v$version--
We have solved the lab.

Last updated
Was this helpful?