🇰🇷 한글 설명
ModSecurity 2.9.8 이하 버전에서 발생하는 서비스 거부(DoS) 취약점입니다. 페이로드의 콘텐츠 타입이 application/json이고 sanitiseMatchedBytes 액션을 사용하는 규칙이 포함된 경우 발생합니다.
💡 쉬운 설명
웹 방화벽인 ModSecurity가 특정 형식의 데이터를 처리할 때 과부하가 걸려 서비스가 중단될 수 있는 문제입니다. 공격자가 특수한 JSON 데이터를 보내면 웹사이트 접속이 불가능해질 수 있습니다.
🇺🇸 원문 (English)
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.
📍 영향받는 시스템
ModSecurity 2.9.8 및 그 이전의 모든 안정 버전
⚔️ 공격 벡터
application/json 타입의 특수하게 조작된 페이로드를 전송하여 서비스 거부 유도
🛡️ 대응 방법
ModSecurity 2.9.9 버전으로 업데이트하거나 관련 패치(PR 3389) 적용
🔧 검증 코드
출력된 결과에서 ModSecurity의 버전을 확인하여 2.9.8 이하인지 체크합니다.
modsecurity -v 2>/dev/null || apache2ctl -M | grep modsecurity || dpkg -l | grep modsecurity