Skip to content
MediumVulnerability

CVE-2024-12775: langgenius/dify SSRF in custom tool test functionality via REST API

Identifier
CVE-2024-12775
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2024-12775 affects langgenius/dify version 0.10.1. The test functionality for the Create Custom Tool option, reached through the REST API endpoint POST /console/api/workspaces/current/tool-provider/api/test/pre, contains a Server-Side Request Forgery flaw (CWE-918). An attacker can set the url in the servers dictionary of an OpenAI schema to arbitrary targets, letting them use the victim server's credentials to reach unauthorized web resources.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.