🇰🇷 한글 설명
Directus의 GraphQL 엔드포인트에서 필드 중복 요청을 통해 서버 자원을 고갈시키는 서비스 거부(DoS) 취약점입니다. 공격자가 대시보드 그래프 생성 시 전송되는 데이터를 조작하여 동일한 필드를 과도하게 요청함으로써 서버를 마비시킬 수 있습니다.
💡 쉬운 설명
공격자가 한 번의 요청에 똑같은 질문을 수만 번 반복해서 던져 서버를 지치게 만드는 공격입니다. 이로 인해 서버가 과부하에 걸려 일반 사용자들이 서비스를 이용할 수 없게 됩니다.
🇺🇸 원문 (English)
Directus is a real-time API and App dashboard for managing SQL database content. A denial of service (DoS) attack by field duplication in GraphQL is a type of attack where an attacker exploits the flexibility of GraphQL to overwhelm a server by requesting the same field multiple times in a single query. This can cause the server to perform redundant computations and consume excessive resources, leading to a denial of service for legitimate users. Request to the endpoint /graphql are sent when visualizing graphs generated at a dashboard. By modifying the data sent and duplicating many times the fields a DoS attack is possible. This vulnerability is fixed in 10.12.0.
📍 영향받는 시스템
Directus 10.12.0 미만 버전
⚔️ 공격 벡터
GraphQL 엔드포인트(/graphql)로 필드가 중복된 조작된 요청을 전송
🛡️ 대응 방법
Directus를 최신 버전인 10.12.0 이상으로 업데이트
🔧 검증 코드
출력된 directus의 버전이 10.12.0보다 낮은지 확인
npm list directus | grep directus