🔍 CVE-2023-51445

4.8
CVSS Score
MEDIUM
2024-03-20
2026-06-17 06:40
✅ 완료

🇰🇷 한글 설명

GeoServer의 특정 버전에서 워크스페이스 권한을 가진 인증된 관리자가 스타일 또는 범례 리소스에 JavaScript 페이로드를 저장할 수 있는 저장형 XSS 취약점이 존재합니다. 이 취약점을 통해 공격자는 다른 관리자가 REST Resources API를 통해 해당 리소스를 조회할 때 브라우저 컨텍스트에서 악성 스크립트를 실행할 수 있습니다.

💡 쉬운 설명

권한이 있는 사용자가 몰래 악성 코드를 심어두면, 다른 관리자가 이를 확인하는 순간 관리자의 브라우저에서 해당 코드가 실행되는 보안 결함입니다. 이를 통해 관리자의 세션을 탈취하거나 민감한 정보에 접근할 위험이 있습니다.

🇺🇸 원문 (English)

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.3 and 2.24.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources that will execute in the context of another administrator's browser when viewed in the REST Resources API. Access to the REST Resources API is limited to full administrators by default and granting non-administrators access to this endpoint should be carefully considered as it may allow access to files containing sensitive information. Versions 2.23.3 and 2.24.0 contain a patch for this issue.

📍 영향받는 시스템

GeoServer 2.23.3 및 2.24.0 미만 버전

⚔️ 공격 벡터

인증된 워크스페이스 관리자가 악성 JavaScript가 포함된 스타일/범례 리소스를 업로드하여 REST API를 통해 실행 유도

🛡️ 대응 방법

GeoServer를 최신 패치가 적용된 버전인 2.23.3 또는 2.24.0 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 취약한 버전 번호가 출력되면 해당 시스템은 패치가 필요한 상태입니다.

Shell / Script
curl -s http://<GEOSERVER_URL>/geoserver/version | grep -E '2.23\.[0-2]|2.24\.[0-9]'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

💻 영향받는 소프트웨어

Spring Data REST