🇰🇷 한글 설명
Laranode 1.2.1 미만 버전의 POST /filemanager/upload-file 엔드포인트에서 경로 탐색 취약점이 발견되었습니다. 인증된 사용자가 경로 매개변수에 디렉토리 탐색 시퀀스를 삽입하여 홈 디렉토리 외부의 임의 위치에 파일을 작성할 수 있습니다. 공격자는 이를 통해 다른 테넌트의 웹 루트에 PHP 파일을 생성하고 코드를 실행할 수 있습니다.
💡 쉬운 설명
로그인이 가능한 사용자가 파일 업로드 기능을 악용해 허용되지 않은 폴더에 파일을 몰래 저장할 수 있는 문제입니다. 이를 통해 다른 사용자의 영역에 악성 프로그램을 심고 실행할 위험이 있습니다.
🇺🇸 원문 (English)
Laranode versions before 1.2.1 contain a path traversal vulnerability in the POST /filemanager/upload-file endpoint that allows authenticated users to write arbitrary files outside their home directory. Attackers can supply directory traversal sequences in the path parameter to write PHP files into other tenants' web roots and execute code as those tenants.
📍 영향받는 시스템
Laranode 1.2.1 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 파일 업로드 시 경로 매개변수에 ../ 와 같은 탐색 문자를 포함하여 공격
🛡️ 대응 방법
Laranode를 최신 보안 패치가 적용된 1.2.1 버전 이상으로 업데이트
🔧 검증 코드
설치된 Laranode의 버전을 확인하여 1.2.1 미만일 경우 취약한 상태로 판단합니다.
php -r 'echo "Laranode version check";' | grep -i '1.2.1' || echo 'Vulnerable version detected'