Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.
Start learningUpgrade label-studio
to version 1.16.0 or higher.
label-studio is a Label Studio annotation tool
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the s3_endpoint
parameter due to improper input validation. An attacker can make the application send HTTP requests to arbitrary internal services by specifying them as the S3 endpoint.
Implement strict validation of S3 endpoint URLs to allow only valid S3 service endpoints, add an allowlist of endpoint domains and protocols, sanitize error messages to prevent leakage of sensitive information from failed requests, and consider implementing network-level controls to restrict outbound connections from the application server.
{
"project": 1,
"title": "Test Storage",
"bucket": "<filename>",
"s3_endpoint": "http://internal-web",
"use_blob_urls": true,
"aws_access_key_id": "test",
"aws_secret_access_key": "test"
}