Multiple choice technology security

Refer URL : http://www.testrun.com/login.aspx?id=' OR 1=1- . Which type of attack refered in this URL

  1. Cross Site Scripting (XSS)

  2. Buffer Overflow

  3. SQL Injection

  4. Cross Site Request Forgeries (CSRF)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The input id=' OR 1=1- manipulates the database query logic to bypass authentication, indicating a SQL injection attack. Cross-site scripting targets browser execution, buffer overflows exploit memory boundaries, and cross-site request forgery forces users to execute unwanted actions.