🇰🇷 한글 설명
GeoServer의 REST Coverage Store 또는 Data Store API를 통해 인증된 관리자가 임의의 파일 및 디렉토리 이름을 변경할 수 있는 취약점입니다. .zip으로 끝나지 않는 파일 이름을 변경함으로써 시스템 파일을 조작할 수 있으며, 이는 서비스 거부(DoS)나 설정 초기화로 이어질 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 공격자가 서버 내의 중요한 파일 이름을 마음대로 바꿀 수 있는 문제입니다. 이로 인해 서버가 멈추거나 중요한 설정이 사라져 서비스가 제대로 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An arbitrary file renaming vulnerability exists in versions prior to 2.23.5 and 2.24.2 that enables an authenticated administrator with permissions to modify stores through the REST Coverage Store or Data Store API to rename arbitrary files and directories with a name that does not end in `.zip`. Store file uploads rename zip files to have a `.zip` extension if it doesn't already have one before unzipping the file. This is fine for file and url upload methods where the files will be in a specific subdirectory of the data directory but, when using the external upload method, this allows arbitrary files and directories to be renamed. Renaming GeoServer files will most likely result in a denial of service, either completely preventing GeoServer from running or effectively deleting specific resources (such as a workspace, layer or style). In some cases, renaming GeoServer files could revert to the default settings for that file which could be relatively harmless like removing contact information or have more serious consequences like allowing users to make OGC requests that the customized settings would have prevented them from making. The impact of renaming non-GeoServer files depends on the specific environment although some sort of denial of service is a likely outcome. Versions 2.23.5 and 2.24.2 contain a fix for this issue.
📍 영향받는 시스템
GeoServer versions prior to 2.23.5 and 2.24.2
⚔️ 공격 벡터
인증된 관리자가 REST Coverage Store 또는 Data Store API를 사용하여 외부 업로드 방식을 통해 임의의 파일/디렉토리 이름 변경
🛡️ 대응 방법
GeoServer를 2.23.5 또는 2.24.2 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 2.23.5 또는 2.24.2 이상의 버전 번호가 포함되어 있으면 취약점이 해결된 상태입니다.
curl -s http://localhost:8080/geoserver/version | grep -E '2.23.5|2.24.2'