🔍 CVE-2025-66508

6.5
CVSS Score
MEDIUM
2025-12-09
2026-10-14 21:10
✅ 완료

🇰🇷 한글 설명

1Panel 2.0.14 이하 버전에서 Gin 프레임워크의 기본 설정으로 인해 모든 IP 주소를 신뢰하는 취약점이 발견되었습니다. 공격자가 X-Forwarded-For 헤더를 조작하여 IP 기반의 접근 제어 및 화이트리스트를 우회할 수 있습니다.

💡 쉬운 설명

서버가 접속자의 실제 주소를 확인하지 않고 가짜 주소를 믿어버리는 문제입니다. 이를 통해 공격자는 마치 허가된 관리자인 것처럼 속여 보안망을 통과할 수 있습니다.

🇺🇸 원문 (English)

1Panel is an open-source, web-based control panel for Linux server management. Versions 2.0.14 and below use Gin's default configuration which trusts all IP addresses as proxies (TrustedProxies = 0.0.0.0/0), allowing any client to spoof the X-Forwarded-For header. Since all IP-based access controls (AllowIPs, API whitelists, localhost-only checks) rely on ClientIP(), attackers can bypass these protections by simply sending X-Forwarded-For: 127.0.0.1 or any whitelisted IP. This renders all IP-based security controls ineffective. This issue is fixed in version 2.0.14.

📍 영향받는 시스템

1Panel version 2.0.14 and below

⚔️ 공격 벡터

X-Forwarded-For HTTP 헤더에 127.0.0.1 또는 허용된 IP를 삽입하여 IP 기반 보안 통제 우회

🛡️ 대응 방법

1Panel을 최신 버전인 2.0.15 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 2.0.14 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
curl -s http://localhost:12345/api/version | grep -E 'version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Multi-Domain Security Management Server