Showing posts with the label security

[FIXED] How to do Postgresql injection in to_tsquery?

Issue so the requirement is simple, my query is: select to_tsquery('XXX'); What should b…

[FIXED] Spring Boot JPA security concept

Issue I have trouble figuring out, if JPA for Spring Boot has any build in security mechanisms that…

[FIXED] Is NamedParameterJdbcTemplate vulnerable safe?

Issue We are using NamedParameterJdbcTemplate to achieve "IN" operator functionality. Is…

[FIXED] Detecting potential SQL injection attacks, as well as other security issues

Issue We all know it is nearly impossible to produce a large website without one or two flaws. As s…

[FIXED] Is My PDO Prepared Statement Secure If I Bind The Parameters In The Execute Function?

Issue I have some form data that I'm writing to a database with PDO prepared statements. This …

[FIXED] Is "mysqli_real_escape_string" enough to avoid SQL injection or other SQL attacks?

Issue This is my code: $email= mysqli_real_escape_string($db_con,$_POST['email']); $p…

[FIXED] Regex validation of table schema and name

Issue I have an API that performs some query on a table that the caller specifies. The table name i…

[FIXED] Which characters are actually capable of causing SQL injection in MySQL?

Issue We all know that we should use prepared statements or the appropriate replacement/formatting …

[FIXED] What does mysql_real_escape_string() do that addslashes() doesn't?

Issue Why do we need a DB-specific functions like mysql_real_escape_string()? What can it do that a…

[FIXED] Is FILTER_SANITIZE_STRING enough to avoid SQL injection and XSS attacks?

Issue I'm using PHP 5 with SQLite 3 class and I'm wondering if using rel="noreferrer&…

[FIXED] Are there any security vulnerabilities in this PHP code?

Issue I just got a site to manage, but am not too sure about the code the previous guy wrote. I'…

[FIXED] Sanitize $_SERVER['HTTP_USER_AGENT'] & $_SERVER['HTTP_REFERER'] before saving to DB?

Issue I have a feedback form which will take a couple of user inputted fields along with a few fiel…

[FIXED] what's the meaning of 'admin' OR 1=1 -- '

Issue The following query return all the passwords in the table tbl_user but I can not understand w…

[FIXED] How can I sanitize user input with PHP?

Issue Is there a catchall function somewhere that works well for sanitizing user input for SQL inje…

[FIXED] How to add Active Directory user group as login in SQL Server

Issue I have a .NET application which is connecting to the SQL Server using Windows authentication.…

[FIXED] Tools for decoding SQL injection attempts, locating vulnerabilities

Issue I would like to decode their hex requests, what tools would I need? Also- are there good au…

[FIXED] How can prepared statements protect from SQL injection attacks?

Issue How do prepared statements help us prevent rel="noreferrer">SQL injection atta…

[FIXED] Is htmlspecialchars enough to prevent an SQL injection on a variable enclosed in single quotes?

Issue Although many sources quote the htmlspecialchars function with ENT_QUOTES to be not enough…

[FIXED] How can I prevent SQL injection in PHP?

Issue If user input is inserted without modification into an SQL query, then the application become…

[FIXED] What is it CHAR(107)+CHAR(113) in query of SQLi and how to known full list of those chars?

Issue In sql injection we have a query UNION ALL SELECT