Valid 350-701 Dumps shared by EduDump.com for Helping Passing 350-701 Exam! EduDump.com now offer the newest 350-701 exam dumps, the EduDump.com 350-701 exam questions have been updated and answers have been corrected get the newest EduDump.com 350-701 dumps with Test Engine here:
Which flaw does an attacker leverage when exploiting SQL injection vulnerabilities?
Correct Answer: A
SQL injection usually occurs when you ask a user for input, like their username/userid, but the user gives ("injects") you an SQL statement that you will unknowingly run on your database. For example: Look at the following example, which creates a SELECT statement by adding a variable (txtUserId) to a select string. The variable is fetched from user input (getRequestString): txtUserId = getRequestString("UserId"); txtSQL = "SELECT * FROM Users WHERE UserId = " + txtUserId; If user enter something like this: "100 OR 1=1" then the SQL statement will look like this: SELECT * FROM Users WHERE UserId = 100 OR 1=1; The SQL above is valid and will return ALL rows from the "Users" table, since OR 1=1 is always TRUE. A hacker might get access to all the user names and passwords in this database.