Description
Dify before version 1.14.2 contains an authorization bypass vulnerability that allows authenticated editor users to set and enable trace configurations for any application regardless of tenant ownership. Attackers can exploit missing tenant ownership checks in the trace configuration endpoints to redirect all messages and responses from victim applications to attacker-controlled LLM trace providers. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
langgenius dify
Default version status: affected
0 to < 1.14.2affected
References
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps ↗
- https://huntr.com/bounties/a43076b2-fbc8-4750-9647-89a036b52f52 ↗
- https://github.com/langgenius/dify/releases/tag/1.14.2 ↗
- https://github.com/langgenius/dify/pull/35793 ↗
- https://github.com/langgenius/dify/commit/55d05fe52de880cd8497df8cea052351c594fad8 ↗
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-trace-configuration-endpoints ↗