#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 탐지 규칙이 있습니다. 클릭하여 특정 취약점과 수정 사항을 확인하세요.