Multiple choice technology security

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

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

All these vulnerabilities share a root cause: insufficient validation or sanitization of untrusted input. When user input is not properly validated before use, attackers can manipulate it to trigger buffer overflows, inject malicious scripts or SQL commands, or exploit format string vulnerabilities.

AI explanation

Buffer overflows, XSS, SQL injection, and format string bugs all stem from the same root cause: the application trusts and processes attacker-supplied input without validating its length, type, or content before using it. If input were properly validated/sanitized at the trust boundary, each of these distinct attack classes would be blocked, which is why 'unvalidated input' is the common thread rather than authentication or configuration issues.