-
Notifications
You must be signed in to change notification settings - Fork 247
Open
Description
The way you are concatenating the input from the user into the SQL statements opens you up to a SQLInjection attack. If an attacker finds a SQL Injection they can do anything to the database that the user you're connected to the database as has. This includes extracting the entire database of data or even lad a shell on the database.
for more information visit: https://www.owasp.org/index.php/SQL_Injection. it is an open source community to bring awareness of application security to the masses.
Also the attack tool favored by attackers is SQLMap: http://sqlmap.org/
You can modify your code to use parameterized inputs into the SQL Statement:
http://php.net/manual/en/pdo.prepared-statements.php
kanlukasz, wolfen351 and Kuraanal
Metadata
Metadata
Assignees
Labels
No labels