Server-Side Request Forgery (SSRF) is a vulnerability in which an attacker manipulates a web server into making requests to internal resources that the attacker cannot reach directly. It is classified under the Confused Deputy category in the Common Weakness Enumeration (CWE-918).
Server-Side Request Forgery (SSRF)
One example of the confused deputy is the SSRF, or server-side request forgery.
We're back on the Common Weakness Enumeration site. I'm going to expand all down here, and this time we're going to do a search for SSRF. We can see there's just one here, and it's a subcategory of confused deputy. So let's take a look at the server-side request forgery, or CWE-918.
If we take a look at it, there is a diagram on this one, and it says the web server — so we're dealing with a web server here — receives a URL or similar request from the upstream component and retrieves the content of the URL. So it's essentially delivering unexpected information to the adversary.
Here we have a set of web servers right here, and an adversary. The adversary makes a call to these web servers, and the adversary doesn't have direct access to these resources right here, but the web server does. So the web server then returns that information to the adversary, and the adversary gains access then to these resources that they shouldn't have access to.
So an SSRF is when an adversary uses a web server to gain access to internal resources.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →