CVE-2024-12775 Information
Description
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.
Reference
https://huntr.com/bounties/e90e929a-9bc9-46ad-a5e5-1f6f124d0f12
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.