🔍 CVE-2017-12615

8.1
CVSS Score
HIGH
2017-09-19
2026-08-06 05:16
✅ 완료

🇰🇷 한글 설명

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 사이면 취약하므로 업그레이드 필요

Shell / Script
curl -I http://localhost:8080 2>/dev/null | grep -i Server

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server