🔍 CVE-2017-3163

7.5
CVSS Score
HIGH
2017-08-30
2026-06-17 01:17
✅ 완료

🇰🇷 한글 설명

Apache Solr의 Index Replication 기능에서 파일명 검증이 부족하여 경로 탐색 공격이 가능합니다. 공격자는 특수하게 제작된 HTTP 요청을 통해 Solr 서버 프로세스가 접근할 수 있는 임의의 파일을 읽을 수 있습니다. 방화벽이나 인증으로 보호되지 않은 경우 심각한 위험입니다.

💡 쉬운 설명

Solr 서버가 파일 이름을 제대로 검증하지 않아서, 경로 탐색 문자('../')를 사용하면 서버의 모든 파일을 읽을 수 있는 취약점입니다. 인터넷에 노출된 서버라면 누구나 민감한 정보를 탈취할 수 있습니다.

🇺🇸 원문 (English)

When using the Index Replication feature, Apache Solr nodes can pull index files from a master/leader node using an HTTP API which accepts a file name. However, Solr before 5.5.4 and 6.x before 6.4.1 did not validate the file name, hence it was possible to craft a special request involving path traversal, leaving any file readable to the Solr server process exposed. Solr servers protected and restricted by firewall rules and/or authentication would not be at risk since only trusted clients and users would gain direct HTTP access.

📍 영향받는 시스템

Apache Solr 5.5.4 이전, 6.x 6.4.1 이전 버전

⚔️ 공격 벡터

HTTP API의 파일명 매개변수에 경로 탐색 문자 포함(예: ../../etc/passwd)하여 임의 파일 접근

🛡️ 대응 방법

Solr를 5.5.4 이상 또는 6.4.1 이상으로 즉시 업그레이드하고, 방화벽으로 접근 제한

🔧 검증 코드

반환된 버전이 5.5.4 미만이거나 6.0.0~6.4.0 범위면 취약합니다.

Shell / Script
curl -s http://localhost:8983/solr/admin/info/system 2>/dev/null | grep -oP '(?<="solr_version":")[^"]*'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server