Skip to main content

Questions tagged [sql-injection]

SQL injection is a technique used to take advantage of vulnerabilities arising from non-validated input on web applications to pass SQL commands through for execution on a backend database.

-2 votes
1 answer
111 views

How to secure SQL query from SQL injection?

I'm reviewing a PHP library that interacts with an Informix database. Since I'm following the library structure I cannot use pdo. Is it there a guideline on how to properly protect an Informix query ...
Marco Nappi's user avatar
1 vote
0 answers
52 views

Using database_to_xml in SQL Injection on PostgreSQL doesn't show data

we have found SQL injection on a PostgreSQL database. Stacked and UNION payloads. We have created a table to store data as needed and the UNION to extract either from the table or to pull out data ...
pee2pee's user avatar
  • 307
3 votes
1 answer
3k views

Is this database exploitable?

I'm starting out as a bug bounty hunter and found a website that might have a problem yet I'm unsure if its exploitable or not. When sending any payload that contains % I get an error: Invalid query ...
Red Potato's user avatar
0 votes
0 answers
166 views

"Blind SQL Injection (Time-Based)" vulnerability in ASP.NET web application

I am working on an ASP.NET web application, and a recent security scan (conducted using SecurityMetrics) flagged a vulnerability related to Blind SQL Injection (Time-Based). Here are the details of ...
Virender Thakur's user avatar
3 votes
6 answers
6k views

Is SQL Injection possible if we're using only the IN keyword (no equals = operator) and we handle the single quote

Our application has a filtering capability, where the database query is built dynamically as per the user-entered filter values. Prepared Statements are not an option for us. All the filters are text ...
Aki T's user avatar
  • 154
1 vote
0 answers
449 views

Potato exploits dont spawn reverse shell

What could be the reason for potato exploits not being able to spawn a reverse shell? OS: Microsoft Windows Server 2022 Standard Build: 20348 Exploits tried: RoguePotato, SigmaPotato, GodPotato What ...
Pauloss's user avatar
  • 11
1 vote
1 answer
181 views

Testing for Broken Object Level Authorization (BOLA) vulnerabilities

I’m a security-conscious developer looking to improve the security of my web application. I’ve been researching Broken Object Level Authorization (BOLA) vulnerabilities and want to ensure that my ...
Jo Pan's user avatar
  • 11
0 votes
0 answers
411 views

MariaDB SQL Injection

I'm doing a website PT lab and I'm trying to figure out SQL vulnerability in MariaDB. After some scanning I found the /api/ path, and one of them gives the desired SQL I found out that ' gives me the ...
ewondles's user avatar
5 votes
2 answers
2k views

Addressing Potential JavaScript Injection Vulnerabilities

I am working on a project involving an input form where customers enter their name and email to start a conversation with support. The form works well, but I've noticed some issues with the 'Name' ...
Colby Cotton's user avatar
2 votes
1 answer
340 views

MySQL error when SQL injecting valid command

I have internal API tool to clear database tables for testing, the code is unsafe and I want to write a small PoC. I however have troubles successfully executing this basic SQL-injection. This ...
O'Niel's user avatar
  • 3,540
1 vote
0 answers
131 views

MySQL Injection with a incomplete database [closed]

I have a database in which most or maybe even all columns are empty. Yet I have to gain access to the database via a user called Tom. I found out that the table is called users and the query the ...
NightOwlOnCoffee's user avatar
0 votes
1 answer
142 views

How to bypass htmlentities($_POST['username'],ENT_QUOTES) SQL injection

What is the sample payload to bypass this protection for SQL injection in PHP code? . . . htmlentities($_POST['username'],ENT_QUOTES) . . . $myquery = mysql_query(sprintf("SELECT * FROM `users` ...
fed's user avatar
  • 71
1 vote
1 answer
127 views

Could post-execution filtering help stop SQLi data theft?

A few days ago, I thought of an idea that I haven’t heard of being implemented into SQL databases (not that I know a lot about the topic)- and I want your opinions on whether it is any good- and ...
security_paranoid's user avatar
0 votes
3 answers
305 views

Is Homomorphic SQL Query Encryption a good idea - and should I use It?

My web app still needs a lot of work on it in the security department, so I'm considering implementing homomorphic encryption for my SQL database- to help protect from the outcomes of SQLi. I know the ...
security_paranoid's user avatar
1 vote
0 answers
304 views

Is it possible to exploit this supposedly boolean-based blind and time-based blind SQLi (sqlmap)?

I recently found a boolean-based blind SQLi and since I'm new to the bug bounty scene - I don't understand what impact I can extract from it. There is a website like example.com/tarif?tableId=136&...
Andrey's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
63