What is the common cause of buffer over flows, cross-site scripting, SQL injection and format string attacks?

  1. Unvalidated input

  2. Lack of authentication

  3. Improper error handing

  4. Insecure configuration management


Correct Option: A
Explanation:

To solve this question, the user needs to know the common cause of several types of attacks, such as buffer overflows, cross-site scripting, SQL injection, and format string attacks.

The common cause of these types of attacks is unvalidated input. Attackers can exploit vulnerabilities in a program by providing input that is not properly validated by the program. This can allow them to execute arbitrary code, manipulate data, or gain unauthorized access to a system.

Option A is correct because unvalidated input is the root cause of all the attacks listed in the question.

Option B (Lack of authentication) is incorrect because authentication is not directly related to these types of attacks. While authentication can help prevent unauthorized access to a system, it does not address the issue of unvalidated input.

Option C (Improper error handling) is incorrect because while improper error handling can be a vulnerability that can be exploited, it is not the root cause of these types of attacks.

Option D (Insecure configuration management) is incorrect because while insecure configuration management can lead to vulnerabilities that can be exploited, it is not the root cause of these types of attacks.

The Answer is: A

Find more quizzes: