🔍 CVE-2018-1196

5.9
CVSS Score
MEDIUM
2018-03-19
2026-06-17 01:50
✅ 완료

🇰🇷 한글 설명

Spring Boot의 내장 실행 스크립트에서 심볼릭 링크 공격 취약점이 발견되었습니다. 이 취약점을 이용하면 'run_user' 권한을 가진 사용자가 시스템 내의 임의의 파일을 덮어쓰거나 소유권을 탈취할 수 있습니다.

💡 쉬운 설명

프로그램을 실행하는 스크립트의 허점을 이용해, 권한이 낮은 사용자가 시스템의 중요한 파일을 마음대로 수정할 수 있는 문제입니다. 이 공격이 성공하면 서버의 보안이 무너질 수 있습니다.

🇺🇸 원문 (English)

Spring Boot supports an embedded launch script that can be used to easily run the application as a systemd or init.d linux service. The script included with Spring Boot 1.5.9 and earlier and 2.0.0.M1 through 2.0.0.M7 is susceptible to a symlink attack which allows the "run_user" to overwrite and take ownership of any file on the same system. In order to instigate the attack, the application must be installed as a service and the "run_user" requires shell access to the server. Spring Boot application that are not installed as a service, or are not using the embedded launch script are not susceptible.

📍 영향받는 시스템

Spring Boot 1.5.9 이하 버전 및 2.0.0.M1 ~ 2.0.0.M7 버전

⚔️ 공격 벡터

심볼릭 링크(Symlink)를 이용한 파일 덮어쓰기 및 소유권 탈취

🛡️ 대응 방법

Spring Boot를 최신 보안 패치가 적용된 버전(1.5.10 이상 또는 2.0.0 정식 버전 이상)으로 업데이트하십시오.

🔧 검증 코드

현재 사용 중인 Spring Boot의 버전을 확인하여 취약한 범위에 해당하는지 체크합니다.

Shell / Script
java -jar spring-boot-app.jar --version 2>/dev/null || grep -r 'Spring Boot' /path/to/application

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Framework