BETA O Shoulder está em beta — Os resultados às vezes podem estar incorretos. Seu feedback molda o que corrigimos a seguir. Compartilhar feedback
#10 A10:2021

Server-Side Request Forgery

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

Visão Geral

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.

Como Atacantes Exploram Isso

Entender padrões de ataque ajuda você a construir melhores defesas. Estas são as técnicas que equipes de segurança monitoram.

Internal service access

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

Sinal de detecção: 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.

Sinal de detecção: Requests to 169.254.169.254 or similar metadata endpoints

Como Prevenir

  • 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 com Detecção Shoulder (1)

Estes CWEs têm regras de detecção Shoulder. Clique para ver vulnerabilidades específicas e correções.