🔍 CVE-2026-34198

5.3
CVSS Score
MEDIUM
2026-07-07
2026-10-25 20:10
✅ 완료

🇰🇷 한글 설명

Coolify 4.0.0-beta.471 미만 버전에서 TrustProxies 및 TrustHosts 미들웨어의 설정 오류로 인해 발생합니다. 공격자가 X-Forwarded-Host 헤더를 조작하여 비밀번호 재설정 이메일 내의 링크를 악의적인 도메인으로 변경할 수 있으며, 이를 통해 토큰 탈취 및 계정 탈취가 가능합니다.

💡 쉬운 설명

비밀번호를 찾을 때 전송되는 이메일 링크를 해커가 만든 가짜 사이트로 연결되도록 조작할 수 있는 보안 결함입니다. 해커는 이 링크를 통해 사용자의 계정 권한을 통째로 뺏을 수 있습니다.

🇺🇸 원문 (English)

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, the TrustProxies middleware trusts all proxies ($proxies = '*'), accepting X-Forwarded-Host from any source. The TrustHosts middleware, intended to prevent host header attacks, has a circular caching dependency that prevents it from ever validating hosts. When a password reset is requested, the ResetPassword notification generates the reset URL using url(route(..., false)), which derives the host from the (spoofable) request. An unauthenticated attacker can trigger a password reset email containing a link pointing to an attacker-controlled domain, enabling token theft and account takeover. This issue is fixed in version 4.0.0-beta.471.

📍 영향받는 시스템

Coolify versions prior to 4.0.0-beta.471

⚔️ 공격 벡터

X-Forwarded-Host 헤더 조작을 통한 비밀번호 재설정 URL 변조

🛡️ 대응 방법

Coolify를 4.0.0-beta.471 이상의 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 4.0.0-beta.471 이상의 버전 번호가 포함되어 있으면 안전합니다.

Shell / Script
curl -s http://<your-coolify-instance>/api/version | grep -E '4.0.0-beta.471'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server