You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (log.isDebugEnabled()) log.debug("PATCHing SPARQL update to URI: {}", getWebTarget().getUri());
395
400
@@ -423,6 +428,8 @@ public Response postMultipart(FormDataMultiPart multiPart)
423
428
{
424
429
if (!getSystem().isEnableLinkedDataProxy()) thrownewNotAllowedException("Linked Data proxy not enabled");
425
430
if (getWebTarget() == null) thrownewNotFoundException("Resource URI not supplied"); // cannot throw Exception in constructor: https://github.com/eclipse-ee4j/jersey/issues/4436
431
+
// LNK-009: Validate that proxied URI is not internal/private (SSRF protection)
@@ -445,6 +452,8 @@ public Response putMultipart(FormDataMultiPart multiPart)
445
452
{
446
453
if (!getSystem().isEnableLinkedDataProxy()) thrownewNotAllowedException("Linked Data proxy not enabled");
447
454
if (getWebTarget() == null) thrownewNotFoundException("Resource URI not supplied"); // cannot throw Exception in constructor: https://github.com/eclipse-ee4j/jersey/issues/4436
455
+
// LNK-009: Validate that proxied URI is not internal/private (SSRF protection)
0 commit comments