🔍 CVE-2026-105766

3.1
CVSS Score
LOW
2026-10-05
2026-10-06 15:03
✅ 완료

🇰🇷 한글 설명

Chainguard Academy의 nginx.conf 설정에서 백엔드용 $scheme 변수를 사용하여 발생하는 보안 취약점입니다. HTTPS 요청 시 슬래시가 없는 디렉토리 경로로 접속하면, 로드 밸런서에서 TLS가 종료된 후 Nginx가 클라이언트를 보안되지 않은 HTTP URL로 리다이렉트(301)시킵니다. 이로 인해 네트워크 중간에 위치한 공격자가 문서 내용을 읽거나 수정할 수 있습니다.

💡 쉬운 설명

보안 연결(HTTPS)로 접속하더라도 설정 오류로 인해 갑자기 보안이 없는 일반 연결(HTTP)로 강제 전환되는 문제입니다. 이 과정에서 해커가 중간에 끼어들어 사용자가 보는 내용을 가로채거나 바꿀 수 있습니다.

🇺🇸 원문 (English)

Use of the backend-facing $scheme variable in the trailing-slash directory redirect in nginx.conf of Chainguard Academy (edu) from commit 0b75ff98057f69b044a3e7194e428066ac5ad0d4 before commit 93dc0e50739c225f5aee2e803800a47fc0feb906 allows an on-path network attacker to read or modify documentation content served to a victim via an HTTPS request for a slashless directory path, because TLS terminates at the load balancer in front of Nginx and the resulting 301 response redirects the client to a plaintext http:// URL. Browsers that ship the HSTS preload list are not affected, because the .dev top-level domain is preloaded; clients that do not enforce HSTS, such as command-line HTTP clients and scripts that follow redirects, are affected.

📍 영향받는 시스템

Chainguard Academy (edu) nginx.conf (commit 0b75ff98057f69b044a3e7194e428066ac5ad0d4 ~ 93dc0e50739c225f5aee2e803800a47fc0feb906)

⚔️ 공격 벡터

On-path network attacker (중간자 공격을 통한 HTTP 리다이렉트 가로채기)

🛡️ 대응 방법

nginx.conf에서 $scheme 대신 https를 명시하거나, HSTS 설정을 적용하여 강제로 보안 연결을 유지하도록 수정해야 합니다.

🔧 검증 코드

리다이렉트되는 Location 헤더의 URL이 http://로 시작하는지 확인하십시오.

Shell / Script
curl -I -L https://[target-domain]/slashless-path | grep -i 'Location:'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx