🔍 CVE-2026-33032

9.8
CVSS Score
CRITICAL
2026-03-30
2026-06-17 10:36
✅ 완료

🇰🇷 한글 설명

Nginx UI 2.3.5 및 이전 버전에서 MCP 통합 기능의 /mcp_message 엔드포인트가 인증 없이 노출되는 취약점이 발견되었습니다. 공격자는 인증 절차를 우회하여 Nginx 설정을 수정하거나 서비스를 재시작하는 등 서버에 대한 완전한 제어권을 획득할 수 있습니다.

💡 쉬운 설명

Nginx 관리 화면의 특정 기능이 비밀번호 확인 없이 누구나 접근할 수 있게 설정되어 있습니다. 이를 통해 해커가 웹 서버의 설정을 마음대로 바꾸거나 서버를 멈추게 할 수 있습니다.

🇺🇸 원문 (English)

Nginx UI is a web user interface for the Nginx web server. In versions 2.3.5 and prior, the nginx-ui MCP (Model Context Protocol) integration exposes two HTTP endpoints: /mcp and /mcp_message. While /mcp requires both IP whitelisting and authentication (AuthRequired() middleware), the /mcp_message endpoint only applies IP whitelisting - and the default IP whitelist is empty, which the middleware treats as "allow all". This means any network attacker can invoke all MCP tools without authentication, including restarting nginx, creating/modifying/deleting nginx configuration files, and triggering automatic config reloads - achieving complete nginx service takeover. At time of publication, there are no publicly available patches.

📍 영향받는 시스템

Nginx UI 2.3.5 및 그 이전 모든 버전

⚔️ 공격 벡터

인증이 누락된 /mcp_message HTTP 엔드포인트를 통한 원격 명령 실행

🛡️ 대응 방법

패치가 출시될 때까지 해당 기능을 비활성화하거나, 방화벽을 통해 접근 가능한 IP를 엄격히 제한해야 합니다.

🔧 검증 코드

해당 엔드포인트에 요청을 보냈을 때 인증 오류 없이 응답이 오면 취약한 상태입니다.

Shell / Script
curl -s http://<TARGET_IP>/mcp_message | grep -E 'error|success|unauthorized' || echo 'Endpoint exists'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx