nerdexam
EC-Council

312-49V11 · Question #130

As a Computer Hacking Forensic Investigator (CHFI). you are investigating a possible breach on a web application protected by a Web Application Firewall (WAF). You notice some logs on the WAF that…

The correct answer is B. There was a successful SQL injection, and unauthorized data manipulation likely occurred. The payload 1' OR '1'='1'; -- is a classic SQL injection technique used to force a condition to evaluate as true and comment out the remainder of a query. If it appears in the database server logs, it strongly suggests the malicious input reached and was executed by the…

Web Application Forensics

Question

As a Computer Hacking Forensic Investigator (CHFI). you are investigating a possible breach on a web application protected by a Web Application Firewall (WAF). You notice some logs on the WAF that suggest there were some repeated attempts to bypass the SQL injection protection. After inspecting the web server and MySQL database you Find no indications of data manipulation. You then decide to delve deeper and examine the database server logs. Which of the following would you most likely infer if you notice a log entry indicating a query command as "1' OR '1'='1'; -- "?

Options

  • AThe WAF successfully blocked the SQL injection attempt and no unauthorized data manipulation
  • BThere was a successful SQL injection, and unauthorized data manipulation likely occurred
  • CThe SQL inject on attempt was unsuccessful as it is an incorrect syntax for bypassing WAF SQL
  • DThe WAF failed to detect the SQL injection attempt out MySQL s n-built protections prevented data

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    78% (21)
  • C
    4% (1)
  • D
    7% (2)

Explanation

The payload 1' OR '1'='1'; -- is a classic SQL injection technique used to force a condition to evaluate as true and comment out the remainder of a query. If it appears in the database server logs, it strongly suggests the malicious input reached and was executed by the database engine- indicating a successful injection attempt and potential unauthorized access/manipulation, even if obvious changes are not immediately visible.

Topics

#SQL injection#WAF analysis#web application forensics#database log analysis

Community Discussion

No community discussion yet for this question.

Full 312-49V11 Practice