🔍 CVE-2025-31651

9.8
CVSS Score
CRITICAL
2025-04-28
2026-06-17 09:10
✅ 완료

🇰🇷 한글 설명

Apache Tomcat의 Rewrite Rule 설정 중 특정 구성에서 이스케이프, 메타 또는 제어 시퀀스의 부적절한 중화로 인해 발생하는 취약점입니다. 특수하게 제작된 요청을 통해 보안 제약 조건이 적용된 Rewrite Rule을 우회할 수 있습니다.

💡 쉬운 설명

웹 서버의 규칙을 무시하고 보안 검사를 통과할 수 있는 허점이 발견되었습니다. 공격자가 이 규칙을 우회하여 허가되지 않은 페이지에 접근할 위험이 있습니다.

🇺🇸 원문 (English)

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version [FIXED_VERSION], which fixes the issue.

📍 영향받는 시스템

Apache Tomcat 11.0.0-M1~11.0.5, 10.1.0-M1~10.1.39, 9.0.0.M1~9.0.102, 8.5.0~8.5.100 및 기타 EOL 버전

⚔️ 공격 벡터

특수하게 조작된 HTTP 요청을 전송하여 Rewrite Rule의 보안 제약 조건을 우회함

🛡️ 대응 방법

취약점이 해결된 최신 버전의 Apache Tomcat으로 업그레이드

🔧 검증 코드

출력된 Tomcat 버전이 취약한 버전 범위에 포함되는지 확인하십시오.

Shell / Script
find / -name 'catalina.jar' 2>/dev/null | xargs -I {} unzip -l {} | grep 'catalina.jar' | awk '{print $4}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Apache Tomcat