🔍 CVE-2025-63388

9.1
CVSS Score
CRITICAL
2025-12-18
2026-10-13 11:10
✅ 완료

🇰🇷 한글 설명

Dify v1.9.1의 /console/api/system-features 엔드포인트에서 CORS 설정 오류가 발견되었습니다. 이 취약점은 임의의 Origin 헤더를 허용하고 Access-Control-Allow-Credentials를 true로 설정하여, 외부 도메인에서 인증된 교차 출처 요청을 보낼 수 있게 합니다.

💡 쉬운 설명

웹사이트의 보안 설정 실수로 인해, 나쁜 의도를 가진 다른 사이트가 사용자의 로그인 정보를 이용해 몰래 명령을 내릴 수 있는 상태입니다. 사용자가 로그인된 상태에서 특정 사이트를 방문하기만 해도 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/system-features endpoint. The endpoint implements an overly permissive CORS policy that reflects arbitrary Origin headers and sets Access-Control-Allow-Credentials: true, allowing any external domain to make authenticated cross-origin requests. NOTE: the Supplier disputes this, providing the rationale of "sending requests with credentials does not provide any additional access compared to unauthenticated requests."

📍 영향받는 시스템

Dify v1.9.1

⚔️ 공격 벡터

공격자가 조작된 Origin 헤더를 포함한 교차 출처 요청을 통해 사용자의 인증 정보를 이용한 API 호출 수행

🛡️ 대응 방법

CORS 정책을 엄격하게 제한하여 허용된 도메인만 접근 가능하도록 수정하고, Access-Control-Allow-Credentials 설정을 검토하십시오.

🔧 검증 코드

응답 헤더에 Access-Control-Allow-Origin이 attacker.com으로 나타나고 Access-Control-Allow-Credentials가 true이면 취약한 상태입니다.

Shell / Script
curl -I -H 'Origin: https://attacker.com' https://<target-dify-url>/console/api/system-features | grep -E 'Access-Control-Allow-Origin|Access-Control-Allow-Credentials'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Dify