🇰🇷 한글 설명
Nginx UI 2.0.0부터 2.5.0 버전까지 인증 시 마스터 자격 증명을 헤더가 아닌 URL 쿼리 파라미터로 전달받는 취약점이 존재합니다. 이로 인해 로그, 브라우저 기록, Referer 헤더 등에 비밀 정보가 노출될 수 있으며, 공격자가 이를 탈취할 경우 관리자 권한을 완전히 장악할 수 있습니다.
💡 쉬운 설명
중요한 비밀번호가 주소창에 노출되는 방식으로 전달되어, 기록을 통해 비밀번호가 유출될 위험이 있습니다. 해커가 이 비밀번호를 알게 되면 관리자 권한으로 시스템을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, Nginx UI accepts the Node.Secret master credential through the node_secret query parameter in HTTP and WebSocket authentication paths instead of requiring the X-Node-Secret header. The credential can consequently appear in access logs, proxy logs, browser history, Referer headers, configuration URLs, and deployment environment data. A party that obtains the secret can bypass normal password, JWT, session, and second-factor checks and obtain persistent administrative API access, including access to configuration and secret material. This issue is fixed in version 2.5.0.
📍 영향받는 시스템
Nginx UI version 2.0.0 ~ 2.5.0
⚔️ 공격 벡터
HTTP/WebSocket 요청의 URL 쿼리 파라미터(node_secret)를 통한 자격 증명 노출 및 탈취
🛡️ 대응 방법
Nginx UI를 최신 버전인 2.5.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.0.0에서 2.5.0 사이라면 취약한 버전이 설치된 것입니다.
curl -s http://<target_ip>/api/version | grep -E '2\.[0-5]\.'