SQL injections attempts

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Goal

Detect SQL injection attempts on web services executing SQL queries. Such security activity generally indicates that an attacker is trying to exploit potential SQL injection vulnerability or steal sensitive data.

Strategy

Monitor application security events to detect SQL injection attempts (@appsec.security_activity:attack_attempt.sql_injection) on distributed traces where SQL queries are executed (@_dd.appsec.enrichment.has_sql:true).

The signal severity is determined based on the underlying service behavior:

  • HIGH Substantial rate of SQL injection attempts on services executing SQL queries, and resulting in 5xx HTTP errors or SQL exceptions.
  • MEDIUM High rate of SQL injection attempts on services executing SQL queries.

Triage and response

  1. Consider blocking the attacking IP(s) temporarily to prevent them to reach deeper parts of your production systems.
  2. Review the 5xx errors and the other application security events detected to assess the impact on the services.
  3. Investigate if the parameters are ending up in the SQL query without sanitization. If they do, fix the code.
PREVIEWING: dgreen15/github-error-fix