Common vulnerability categories (concept only)
Computer Science · Cybersecurity
Question 1 of 10
0A rootkit is malware designed to:
Stuck? Read the explanation
Unlocks at a streak of 5 correct answers in a row.
Embed this practice on your site or class page
Paste this HTML into your page. Students practise right there; it is free and needs no account.
Common vulnerability categories (concept only) explained
A vulnerability is a weakness in software, a system or the people using them that an attacker could exploit. Security courses group vulnerabilities into a few broad categories, so that the same protection ideas can be applied to many different problems. This explainer covers the categories only, at a conceptual level.
- Weak or broken authentication: the system lets people in with weak passwords, does not limit repeated guesses, or does not check identity properly.
- Injection: untrusted input is added to a command or query in a way that changes its meaning. Keeping data and instructions separate, for example with parameterised queries, prevents this.
- Cross-site scripting: a web page displays user-supplied content without cleaning it, so unwanted scripts can run in other people's browsers.
- Misconfiguration: default passwords, open ports or unnecessary features are left in place.
- Sensitive data exposure: data that should be encrypted or access-controlled is stored or sent without protection.
- Social engineering: people are tricked, for example by a phishing message, into giving away information or access.
A common mistake is to believe one tool covers every category. A firewall, for example, does nothing about a weak password that a legitimate user types in, and encryption does not stop an injection attack.
Worked example
A login page accepts unlimited guesses at a password, and the default administrator password was never changed. Which categories apply?
- Unlimited guesses without any delay or lockout point to weak or broken authentication.
- An unchanged default password is a misconfiguration.
- The fixes are to limit repeated attempts and to force a new password on first setup.
Check: one system can have several vulnerabilities, and each category needs its own fix.
What you will practise
105 multiple-choice questions (Easy, Medium, Hard). Each answer is followed by an explanation.
Example questions
- A buffer overflow:
- SQL injection:
- XSS:
- A zero-day is:
- Input validation:
- A common defence against cross-site request forgery (CSRF) is:
- A denial-of-service (DoS) attack aims to:
- Hard-coded credentials are:
…and 97 more.