mubix / cfdb

Common Findings Database
https://cfdb.io
BSD 3-Clause "New" or "Revised" License
100 stars 34 forks source link

SQL Injection #12

Open rmikehodges opened 8 years ago

rmikehodges commented 8 years ago

/ Title: SQL Injection Description: SQL Injection SQLi database vulnerability /

A code injection technique that allows an attacker to make arbritrary calls to the backend database.

Capabilities and Risk

SQL Injection allows an attacker to access entries in the application database and in some cases write to the database which can lead to code execution on the server.

It can lead to partial or complete loss of the database entries and in the worst case scenario allow an attacker to gain a foothold on the machine.

Detection

Properly sanatize all database calls using both a whitelist of known good input and blacklist of potentially dangerous meta characters and functions.

References