# What is Server-Side Request Forgery (SSRF)?

> Server-side request forgery (SSRF) is an attack that causes an application to send an unintended request from its server-side environment to an attacker-influenced destination.

- Canonical URL: https://yellowcube.eu/glossary/server-side-request-forgery/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

Features that fetch documents, retrieve images, or deliver callbacks can become request paths into internal services, local interfaces, or external systems. The server may have network access or credentials unavailable to the attacker. Cloud metadata services are particularly sensitive because they can expose workload credentials.

The Open Worldwide Application Security Project (OWASP) listed SSRF separately as A10:2021; its released 2025 Top 10 includes SSRF within A01 Broken Access Control. This change in classification does not change the attack mechanism.

### Key points

- **Destination controls:** Restrict permitted schemes, hosts, ports, and resolved addresses according to the feature’s purpose; account for redirects and changes in name resolution.
- **Network boundary:** Constrain outbound access and access to metadata services so a vulnerable fetch function cannot reach every service available to the host.
- **Metadata service protection:** Where supported, requiring session tokens and disabling tokenless access can reduce some metadata-abuse paths.
- **Important limitation:** Metadata service protections do not repair SSRF or protect unrelated destinations. An attacker may cause effects without receiving the fetched response, and simple address blocklists can miss alternative representations or resolution changes.

### Related terms

[Cross-site request forgery (CSRF)](<https://yellowcube.eu/glossary/cross-site-request-forgery/>) · [Application programming interface (API) security](<https://yellowcube.eu/glossary/application-programming-interface-security/>) · [Web application security](<https://yellowcube.eu/glossary/web-application-security/>) · [Cloud security](<https://yellowcube.eu/glossary/cloud-security/>)

### Sources

[OWASP: Server-Side Request Forgery Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html) · [OWASP Top 10:2025 — Introduction](https://top10.owasp.org/2025/0x00_2025-Introduction/) · [Amazon Elastic Compute Cloud: Use the Instance Metadata Service to access instance metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html)

## Let’s Build Smarter Cyber Defenses Together

Partnerships are the foundation of everything we do — built on trust, expertise, and shared success. Whether you’re looking to grow your business, strengthen your cybersecurity offerings, or bring innovative solutions to new markets, Yellow Cube is ready to be your committed, long-term ally.

[Get in touch with Yellow Cube](<mailto:hello@yellowcube.eu?subject=Partnership>)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

