BETA Shoulder ist in der Beta — Befunde können manchmal falsch sein. Dein Feedback bestimmt, was wir als Nächstes beheben. Feedback teilen
#10 A10:2021

Server-Side Request Forgery

SSRF flaws occur whenever a web application fetches a remote resource without validating the user-supplied URL.

Überblick

New for 2021. This category represents the scenario where the security community is telling us this is important, even though it's not illustrated in the data at this time.

Wie Angreifer dies ausnutzen

Das Verstehen von Angriffsmustern hilft Ihnen, bessere Verteidigungen aufzubauen. Dies sind die Techniken, die Sicherheitsteams überwachen.

Internal service access

Attackers use the server to make requests to internal services that are not directly accessible from the internet.

Erkennungssignal: Requests to internal IP ranges, localhost, or cloud metadata endpoints

Cloud metadata exploitation

In cloud environments, SSRF can access instance metadata services to obtain credentials or sensitive configuration.

Erkennungssignal: Requests to 169.254.169.254 or similar metadata endpoints

Wie Sie vorbeugen

  • Segment remote resource access functionality in separate networks
  • Enforce URL schema, port, and destination with a positive allowlist
  • Do not send raw responses to clients
  • Disable HTTP redirections
  • Be aware of URL consistency to avoid DNS rebinding attacks

CWEs mit Shoulder-Erkennung (1)

Diese CWEs haben Shoulder-Erkennungsregeln. Klicken Sie, um spezifische Schwachstellen und Korrekturen zu sehen.