🇰🇷 한글 설명
Leantime 3.6.2 버전에서 인증된 공격자가 Blueprints::import() 메서드의 경로 검증 미흡을 악용하여 SSRF 및 LFI 취약점을 공격할 수 있습니다. 공격자는 JSON-RPC API를 통해 조작된 파일명을 전달함으로써 내부 리소스를 읽거나 서버의 임의 파일을 탈취할 수 있습니다.
💡 쉬운 설명
로그인 권한이 있는 사용자가 시스템의 보안 규칙을 우회하여 서버 내부의 중요한 파일이나 클라우드 정보를 몰래 훔쳐볼 수 있는 결함입니다. 파일 이름을 조작하여 서버가 허용되지 않은 경로의 데이터를 읽도록 만드는 방식입니다.
🇺🇸 원문 (English)
Leantime 3.6.2 contains a server-side request forgery and local file inclusion vulnerability that allows authenticated attackers to read internal resources by passing unsanitized user-supplied filenames to file_get_contents() in the Blueprints::import() method without path validation. Attackers can submit crafted filenames containing URL wrappers or path traversal sequences through the JSON-RPC API endpoint to access cloud metadata services or read arbitrary files from the server filesystem.
📍 영향받는 시스템
Leantime 3.6.2
⚔️ 공격 벡터
JSON-RPC API 엔드포인트를 통해 경로 탐색(Path Traversal) 또는 URL 래퍼가 포함된 파일명을 전송
🛡️ 대응 방법
Leantime를 최신 보안 패치가 적용된 버전으로 업데이트하고, 입력값에 대한 경로 검증 로직을 강화하십시오.
🔧 검증 코드
명령어 결과에서 file_get_contents() 함수가 경로 검증 없이 사용되는 코드가 발견되면 취약한 상태입니다.
grep -r "Blueprints::import()" /path/to/leantime/src/ 2>/dev/null