A security vulnerability is a weakness in software, hardware, configuration or a process through which an attacker can violate a security objective. Possible consequences include unauthorized data access, manipulation, privilege escalation or disruption of a service. Not every bug is a vulnerability, and not every vulnerability carries the same risk for every organization.
When does a defect become a vulnerability?
An ordinary software defect might display the wrong color without affecting security. If a defect lets a user retrieve another customer's invoices, it creates a security vulnerability. A flaw becomes practically relevant when a threat can reach it and produce a meaningful impact. An isolated test system is therefore assessed differently from a public customer portal containing sensitive data.
| Term | Meaning |
|---|---|
| Bug | A deviation from expected behavior that need not have a security consequence. |
| Weakness | A type of mistake or condition from which an exploitable flaw can arise. |
| Vulnerability | A concrete exploitable security flaw in a system, product or process. |
| Exploit | Code or a method that takes advantage of a vulnerability. |
| Risk | The combination of possible occurrence, impact and organizational context. |
How do vulnerabilities arise?
- Insecure design:
A necessary control, such as an authorization boundary, is absent from the concept. - Implementation defect:
Code handles input, memory, files or sessions incorrectly. - Misconfiguration:
Default passwords, public storage or excessive permissions create an attack path. - Outdated component:
Known vulnerabilities persist because updates are missing or dependencies are unmaintained. - Process or operating error:
Unsafe approvals, unclear ownership or insufficient checks enable abuse. - Chaining:
Several smaller weaknesses combine into a more extensive attack.
Which types of vulnerability exist?
Vulnerabilities can be grouped by root cause and affected trust boundary. The groups overlap: insecure deserialization may lead to remote code execution, while one API can contain authorization and business-logic flaws at the same time.
| Family | Typical vulnerabilities |
|---|---|
| Access control | Broken Access Control, IDOR, mass assignment and privilege escalation. |
| Injection | SQL Injection, NoSQL, LDAP and Command Injection. |
| Browser and sessions | Cross-Site Scripting, CSRF, clickjacking, CORS misconfiguration, session fixation and session hijacking. |
| Server-side processing | SSRF, XXE, SSTI, insecure deserialization and prototype pollution. |
| Files and paths | Path traversal, local/remote file inclusion and unsafe file uploads. |
| HTTP and caches | HTTP request smuggling, host header injection, web cache poisoning and open redirects. |
| Business logic and resources | Business Logic Vulnerabilities, race conditions, missing rate limiting and DoS. |
| Identity and protocols | Account enumeration, unsafe tokens, SAML/XML signature wrapping and flawed OAuth flows. |
| Software supply chain | Dependency confusion, exposed secrets and manipulated builds or updates. |
Networks may also expose unnecessary services, unsafe protocols or insufficient segmentation. Operating systems and low-level software can contain memory corruption or local privilege-escalation flaws. Cloud environments commonly suffer from public resources and excessive identities. Physical and organizational controls can contain vulnerabilities as well.
How are vulnerabilities discovered?
| Method | Typical strength |
|---|---|
| Threat modeling and design review | Identify missing controls before code is written. |
| Code review and SAST | Find flaws directly in custom code and data flows. |
| Vulnerability scanner | Check broadly and repeatedly for known issues and misconfigurations. |
| Penetration test | Demonstrate manual, logical and chained attack paths safely. |
| Responsible disclosure and bug bounty | External researchers report flaws in production services under defined rules. |
| Monitoring and incident response | Reveal previously unknown weaknesses through actual anomalies and incidents. |
How are vulnerabilities described and assessed?
Publicly known product vulnerabilities commonly receive a CVE identifier. The underlying type of mistake can be described with CWE, while CVSS describes technical characteristics and severity. These standards aid comparison but do not establish an organization's priority by themselves.
Actual risk also depends on asset value, exposure, required privileges, affected data, available exploits, known exploitation and existing controls. A clear finding states the root cause, affected component, reproducible evidence, realistic impact and concrete remediation.
How is a vulnerability treated?
- Confirm applicability and technical prerequisites.
- Prioritize risk in the system's context and assign an owner.
- Remove the cause through a patch, code change, secure configuration or architectural control.
- If immediate remediation is impossible, reduce exposure temporarily with a compensating control.
- Retest the fix and check similar components for the same mistake.
- Use the root cause to improve development and operations.
What are zero-day vulnerabilities?
A zero-day commonly refers to a vulnerability for which no generally available fix exists when it becomes known to the vendor or defenders. A zero-day exploit actively takes advantage of such a flaw. Signature-based scanners cannot reliably identify unknown weaknesses. Segmentation, minimal privilege, secure defaults, behavioral monitoring and rapid response therefore also limit risks for which no specific patch is yet available.
Thank you for your feedback! We will review it and optimize this content.
Do you have feedback on Vulnerability? Tell us!
Additional Services
Comprehensive IT security solutions for complete protection
Red Teaming
Simulation of real attacks on your company including people, infrastructure and processes. A comprehensive approach to testing your entire security strategy.
Learn morePhishing Exercises
Practical phishing simulations to raise employee awareness. Increase awareness and reduce the risk of successful email-based attacks.
Learn more