🇰🇷 한글 설명
Thymeleaf 3.1.3.RELEASE 및 이전 버전의 표현식 실행 메커니즘에서 보안 우회 취약점이 발견되었습니다. 공격자가 검증되지 않은 사용자 입력을 템플릿 엔진에 직접 전달할 경우, 라이브러리의 보호 기능을 우회하여 서버 측 템플릿 주입(SSTI)을 수행할 수 있습니다.
💡 쉬운 설명
웹사이트가 화면을 만드는 도구인 Thymeleaf의 보안 구멍을 이용해 공격자가 서버에 몰래 명령을 내릴 수 있는 문제입니다. 해커가 입력창에 특수한 코드를 넣으면 서버의 제어권을 뺏길 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
Thymeleaf is a server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly neutralize specific syntax patterns that allow for the execution of unauthorized expressions. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.
📍 영향받는 시스템
Thymeleaf 3.1.3.RELEASE 및 그 이전 모든 버전
⚔️ 공격 벡터
검증되지 않은 사용자 입력을 템플릿 엔진에 전달하여 발생하는 서버 측 템플릿 주입(SSTI)
🛡️ 대응 방법
Thymeleaf 버전을 3.1.4.RELEASE 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 thymeleaf 관련 라이브러리의 버전이 3.1.4.RELEASE 미만인지 확인하십시오.
mvn dependency:list | grep 'thymeleaf-spring6' || grep 'thymeleaf' (사용 중인 빌드 도구에 따라 확인 필요)
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server