Security Glossary

A developer-friendly guide to web application security terms, explained with Laravel examples.

Security Concepts

Attack Surface

The total set of points where an attacker can try to enter or extract data from a system. This includes every API endpoint, open port, login form, file upload, third-party integration, and piece of infrastructure reachable from the outside.

Attack Vector

A specific method or path an attacker uses to exploit a vulnerability and gain unauthorized access to a system. While the attack surface is the total collection of entry points, an attack vector is the specific technique used against one of those entry points.

Vulnerability

A weakness in a system that can be exploited by an attacker to perform unauthorized actions. Vulnerabilities can exist in code, configuration, infrastructure, or processes. They range in severity from informational to critical.

Exploit

A piece of code, technique, or sequence of actions that takes advantage of a vulnerability to produce unintended behavior. Exploits turn theoretical vulnerabilities into actual security breaches.

Zero-Day Vulnerability

A vulnerability that is unknown to the software vendor and has no available patch. The term "zero-day" refers to the fact that developers have had zero days to fix the issue. Zero-day exploits are particularly dangerous because no defense exists until the vendor releases a patch.

Configuration Drift

The gradual, unintended divergence of a system's configuration from its intended state over time. Configuration drift happens through manual changes, deployment errors, package updates, or infrastructure modifications that are not tracked or reverted.