langgenius dify
cpe:2.3:a:langgenius:dify:*:*:*:*:node.js:*:*
- 1.0.0
A server-side request forgery (SSRF) vulnerability has been identified in Dify version 1.0. The issue arises in the RemoteFileUploadApi component, where the application improperly validates URL parameters, allowing unauthorized users to make outbound requests to internal or external services.
Exploitation of this vulnerability allows for unauthorized SSRF, where an attacker can make requests from the server to internal services or external systems, potentially leading to further exploitation or information disclosure.
The vulnerability can be reproduced by sending a POST request to the '/console/api/remote-files/upload' endpoint with a URL parameter pointing to an external address. The request will be processed by the RemoteFileUploadApi, which will make an outbound request to the specified URL without proper authentication or validation.
It is recommended to implement authentication for the RemoteFileUploadApi interface to prevent unauthorized access.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.