nerdexam
EC-Council

412-79V8 · Question #61

SQL injection attack consists of insertion or "injection" of either a partial or complete SQL query via the data input or transmitted from the client (browser) to the web application. A successful…

The correct answer is D. Static Testing. See the full explanation below for the reasoning.

Question

SQL injection attack consists of insertion or "injection" of either a partial or complete SQL query via the data input or transmitted from the client (browser) to the web application. A successful SQL injection attack can: i)Read sensitive data from the database iii)Modify database data (insert/update/delete) iii)Execute administration operations on the database (such as shutdown the DBMS) iV)Recover the content of a given file existing on the DBMS file system or write files into the file system v)Issue commands to the operating system Pen tester needs to perform various tests to detect SQL injection vulnerability. He has to make a list of all input fields whose values could be used in crafting a SQL query, including the hidden fields of POST requests and then test them separately, trying to interfere with the query and to generate an error. In which of the following tests is the source code of the application tested in a non-runtime environment to detect the SQL injection vulnerabilities?

Exhibit

412-79V8 question #61 exhibit

Options

  • AAutomated Testing
  • BFunction Testing
  • CDynamic Testing
  • DStatic Testing

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    9% (2)
  • C
    4% (1)
  • D
    78% (18)

Community Discussion

No community discussion yet for this question.

Full 412-79V8 Practice