First published: Thu Mar 20 2025(Updated: )
langgenius/dify version 0.10.1 contains a Server-Side Request Forgery (SSRF) vulnerability in the test functionality for the Create Custom Tool option via the REST API `POST /console/api/workspaces/current/tool-provider/api/test/pre`. Attackers can set the `url` in the `servers` dictionary in OpenAI's schema with arbitrary URL targets, allowing them to abuse the victim server's credentials to access unauthorized web resources.
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
Dify |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-12775 is classified as a critical vulnerability due to its potential for exploitation via Server-Side Request Forgery.
To fix CVE-2024-12775, it is recommended to update to the latest version of langgenius/dify that addresses this vulnerability.
CVE-2024-12775 affects all users of langgenius/dify version 0.10.1 utilizing the Create Custom Tool functionality via the REST API.
CVE-2024-12775 is a Server-Side Request Forgery (SSRF) vulnerability that allows attackers to control URL requests from the server.
If you are using langgenius/dify version 0.10.1, you should immediately update to a secure version to mitigate risks associated with CVE-2024-12775.