🇰🇷 한글 설명
Elasticsearch 6.5.0 및 6.5.1 버전의 Machine Learning find_file_structure API에서 XXE 취약점이 발견되었습니다. Java Security Manager에 외부 네트워크 접근을 허용하는 정책이 설정된 경우, 공격자가 특수하게 조작된 요청을 보내 노드의 로컬 파일 내용을 유출할 수 있습니다.
💡 쉬운 설명
해커가 조작된 명령을 보내 서버 안에 있는 중요한 비밀 파일을 몰래 읽어갈 수 있는 보안 약점입니다. 서버 설정이 외부 통신을 허용하고 있을 때 특히 위험합니다.
🇺🇸 원문 (English)
Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.
📍 영향받는 시스템
Elasticsearch 6.5.0, 6.5.1
⚔️ 공격 벡터
Machine Learning API를 통한 특수하게 조작된 XML 요청 전송
🛡️ 대응 방법
Elasticsearch를 최신 보안 패치가 적용된 버전으로 업데이트하거나 Java Security Manager 설정을 검토하십시오.
🔧 검증 코드
명령어 결과에 6.5.0 또는 6.5.1 버전이 나타나면 해당 취약점에 노출된 상태입니다.
curl -s http://localhost:9200 | grep -E '"number" : "6.5.[01]"'