🔍 CVE-2018-8007

7.2
CVSS Score
HIGH
2018-07-11
2026-06-17 02:04
✅ 완료

🇰🇷 한글 설명

Apache CouchDB 관리자가 HTTP API를 통해 설정값을 변경할 때 검증이 불충분하여 발생하는 취약점입니다. 공격자는 블랙리스트를 우회하여 운영체제 권한으로 권한을 상승시킬 수 있으며, 이를 통해 원격 코드 실행(RCE)이 가능합니다.

💡 쉬운 설명

CouchDB 관리자 권한을 가진 사람이 시스템의 보안 제한을 뚫고 컴퓨터 전체를 제어할 수 있는 권한을 얻게 되는 문제입니다. 이를 통해 해커가 서버에 악성 명령을 내릴 수 있습니다.

🇺🇸 원문 (English)

Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.

📍 영향받는 시스템

Apache CouchDB 1.7.2 미만 및 2.1.2 미만 버전

⚔️ 공격 벡터

HTTP API를 통한 구성 설정값 조작 및 블랙리스트 우회

🛡️ 대응 방법

CouchDB를 1.7.2 또는 2.1.2 이상의 최신 버전으로 업그레이드하십시오.

🔧 검증 코드

출력된 버전 정보가 1.7.2 또는 2.1.2보다 낮은지 확인하십시오.

Shell / Script
curl -s http://localhost:5984/ | grep -E '"version"'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server