SQL injection attack, querying the database type and version on Oracle Solved🔥
This lab was about identifying the database type and version on Oracle.
The interesting part was learning how Oracle handles UNION queries.
I first tested the column count using:
UNION SELECT NULL,NULL FROM dual--
Got a 200 OK response, confirming two columns.
Then I used Oracle's built-in v$version view to retrieve the database version:
UNION SELECT banner,NULL FROM v$version--
The result revealed:
Oracle Database 11g Express Edition, Release 11.2.0.2.0 (64-bit).
One thing I learned: Oracle requires a FROM clause in SELECT statements, and DUAL makes that possible.
A web application uses the following SQL query:
SELECT * FROM users
WHERE username = 'INPUT';
Which of the following best describes the vulnerability?
A) Cross-Site Scripting
B) SQL Injection
C) Broken Access Control
D) Server-Side Request Forgery
If you're a Cybersecurity beginner with an interest in AI, you should be following @CybarikGlobal 💪
We have something exciting coming early next year; a great course designed to help you take your first steps at the intersection of Cybersecurity and AI.
It took me a while to upload everything due to poor internet.
But it’s done here’s the link: https://t.co/FbMXtqM4O8
Don’t be stingy. Please share it guys.
Goodluck in your studies.