🇰🇷 한글 설명
Windows에서 실행 중인 Apache Tomcat 7.0.0~7.0.79가 HTTP PUT 메서드를 활성화한 경우, 특수하게 제작된 요청을 통해 JSP 파일을 서버에 업로드할 수 있는 취약점이다. 업로드된 JSP 파일은 서버에서 실행되어 임의의 코드를 실행할 수 있게 된다.
💡 쉬운 설명
Windows의 Tomcat 서버에 파일 업로드 기능이 활성화되어 있으면, 공격자가 악의적인 프로그램 파일(JSP)을 업로드해서 서버에서 실행할 수 있다. 이를 통해 서버를 완전히 장악할 수 있다.
🇺🇸 원문 (English)
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
📍 영향받는 시스템
Apache Tomcat 7.0.0 ~ 7.0.79 on Windows with readonly parameter set to false
⚔️ 공격 벡터
HTTP PUT 메서드를 통한 JSP 파일 업로드 후 접근하여 임의 코드 실행
🛡️ 대응 방법
Tomcat을 7.0.80 이상으로 업그레이드하거나 readonly 파라미터를 true로 설정
🔧 검증 코드
Server 헤더에서 Tomcat 버전을 확인하고, 7.0.0~7.0.79 사이면 취약하므로 업그레이드 필요
curl -I http://localhost:8080 2>/dev/null | grep -i Server