Identifying insecure method calls that can lead to SQL and LDAP injection attacks
SQL injection is a code injection technique, used to attack data-driven applications, in which nefarious SQL statements are inserted into an entry field for execution (for example, to dump the database contents to the attacker). SQL injection attacks allow attackers to spoof identity, tamper with existing data, cause repudiation issues such as voiding transactions or changing balances, allow the complete disclosure of all data on the system, destroy the data or make it otherwise unavailable, and become administrators of the database server.
LDAP injection is a code injection technique used to exploit web applications, which could reveal sensitive user information or modify information represented in the Lightweight Directory Access Protocol (LDAP) data stores. LDAP injection exploits a security vulnerability in an application by manipulating input parameters passed to internal search, add, or modify functions...