#10
A10:2021
Server-Side Request Forgery
SSRF flaws occur whenever a web application fetches a remote resource without validating the user-supplied URL.
概要
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.
攻撃者がこれを悪用する方法
攻撃パターンを理解することで、より優れた防御を構築できます。これらはセキュリティチームが監視する技術です。
Internal service access
Attackers use the server to make requests to internal services that are not directly accessible from the internet.
検出シグナル:
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.
検出シグナル:
Requests to 169.254.169.254 or similar metadata endpoints
予防方法
- 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
Shoulder検出付きCWE (1)
これらのCWEにはShoulder検出ルールがあります。クリックして特定の脆弱性と修正を確認してください。