🔍 CVE-2023-23613

5.7
CVSS Score
MEDIUM
2023-01-26
2026-06-17 05:37
✅ 완료

🇰🇷 한글 설명

OpenSearch의 필드 수준 보안(FLS) 및 필드 마스킹 구현 오류로 인해, 특정 쿼리가 자동 생성된 .keyword 필드를 사용할 때 제외 규칙이 올바르게 적용되지 않습니다. 이 문제는 인덱스에 읽기 권한이 있는 인증된 사용자에 의해 발생할 수 있으며, 접근이 제한되어야 할 데이터가 노출될 위험이 있습니다.

💡 쉬운 설명

데이터를 숨기기 위해 설정한 보안 규칙이 특정 검색 방식에서는 제대로 작동하지 않는 문제입니다. 이로 인해 권한이 없는 사용자가 숨겨진 정보를 볼 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the implementation of field-level security (FLS) and field masking where rules written to explicitly exclude fields are not correctly applied for certain queries that rely on their auto-generated .keyword fields. This issue is only present for authenticated users with read access to the indexes containing the restricted fields. This may expose data which may otherwise not be accessible to the user. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. Users unable to upgrade may write explicit exclusion rules as a workaround. Policies authored in this way are not subject to this issue.

📍 영향받는 시스템

OpenSearch 1.0.0-1.3.7 및 2.0.0-2.4.1

⚔️ 공격 벡터

인증된 사용자가 자동 생성된 .keyword 필드를 활용하는 특정 쿼리를 실행하여 제한된 필드 데이터에 접근

🛡️ 대응 방법

OpenSearch를 1.3.8 또는 2.5.0 이상 버전으로 업그레이드하거나, 수동으로 명시적 제외 규칙을 작성하여 우회 조치

🔧 검증 코드

출력된 버전 정보가 취약한 범위(1.0.0-1.3.7 또는 2.0.0-2.4.1)에 해당하면 취약한 상태입니다.

Shell / Script
curl -s http://localhost:9200 | grep -E '"number" : "(1\.[0-3]\.[0-7]|2\.[0-4]\.[1])"'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST