Server Side Request Forgery (SSRF)

Server Side Request Forgery (SSRF)

Knowledge Base>Server Side Request Forgery (SSRF)

Summary

An SSRF vulnerability allows attackers to send crafted requests from the server.

Testing methodology

Common ParametersCommon HeadersXXESSRF via SVGBad URL Parsers PayloadBad URL Parsers PayloadX-Forwarded-Host/For, RefererExtract DataExtract DataAttacker ServerAttacker ServerAWS - user-data, ami-id, etc.Read Config FilesInternal EndpointsInternal Network ActionsErrors or Time Delay
Identify Entry Points
Detected Entry Points
File Upload
Parsed Headers
Response Available
Blind Interaction
AWS Hosted
File Read
Port Scan
Bypass Access Control
Chain with Other Attacks

Description

An SSRF vulnerability allows an attacker to craft a request from the server to internal systems that are not intended to be exposed to the internet.

Attackers might use this vulnerability to exploit internal systems or retrieve sensitive information.

Remediations

  • Implement strict input validation on user-supplied URLs to prevent attackers from accessing internal resources.
  • Ensure the application's server is not configured to allow requests to internal resources.
  • Implement server-side controls to prevent the application from accessing sensitive resources on behalf of the user.

By using this site you agree to our Terms of Service and Privacy Policy.