🔍 CVE-2014-0050

7.5
CVSS Score
HIGH
2014-04-01
2026-10-07 18:17
✅ 완료

🇰🇷 한글 설명

Apache Commons FileUpload 1.3.1 이전 버전의 MultipartStream.java에서 특별히 조작된 Content-Type 헤더를 통해 루프의 종료 조건을 우회할 수 있습니다. 이는 무한 루프를 발생시켜 CPU를 과도하게 소비하여 서비스 거부(DoS) 공격을 일으킵니다. Apache Tomcat, JBoss Web 등 여러 제품이 영향을 받습니다.

💡 쉬운 설명

파일 업로드 시 특별히 조작된 헤더를 보내면 서버가 무한히 같은 작업을 반복하도록 만들 수 있습니다. 이로 인해 서버가 먹통이 되어 다른 사용자들이 서비스를 이용할 수 없게 됩니다.

🇺🇸 원문 (English)

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted Content-Type header that bypasses a loop's intended exit conditions.

📍 영향받는 시스템

Apache Commons FileUpload < 1.3.1, Apache Tomcat, JBoss Web, 해당 라이브러리를 사용하는 모든 애플리케이션

⚔️ 공격 벡터

조작된 Content-Type 헤더를 포함한 멀티파트 파일 업로드 요청 전송

🛡️ 대응 방법

Apache Commons FileUpload를 1.3.1 이상으로 업데이트하고, Tomcat 등 의존 애플리케이션도 함께 패치

🔧 검증 코드

commons-fileupload jar 파일의 version이 1.3.1 이상이면 안전, 그 이하면 취약

Shell / Script
find / -name 'commons-fileupload*.jar' 2>/dev/null | xargs -I {} sh -c 'echo {} && unzip -p {} META-INF/pom.properties 2>/dev/null | grep version' || echo 'Not Found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache Tomcat