Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› UiServlet Server-Side Request Forgery
Threats, Abuse & Incident Response

UiServlet Server-Side Request Forgery

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Threats, Abuse & Incident Response

UiServlet Server-Side Request Forgery is a server-side request forgery weakness in a UiServlet component. An attacker abuses the servlet to make the server send requests to chosen internal or external targets, which can expose internal services, metadata endpoints, or other restricted resources if the request handling lacks strict allowlisting and network controls.

How UiServlet SSRF Works

UiServlet server-side request forgery is dangerous because the servlet becomes a request broker that can be steered toward destinations the attacker should not be able to reach directly. The weakness is not the outbound request itself, but the loss of trust boundaries around what the server is allowed to fetch on the attacker’s behalf.

In practice, the abuse pattern often begins with a user-controlled URL, host, redirect, or fetch parameter. If the component accepts that input without strict validation, it can be turned into a mechanism for reaching internal services, cloud metadata addresses, admin interfaces, or other restricted endpoints.

Because SSRF is executed from the server side, network location matters. The target may see the request as coming from a trusted application subnet, a private service account context, or an environment that has access to resources the attacker cannot otherwise touch.

Why It Is Dangerous in Server Components

SSRF becomes particularly serious when the compromised component sits inside a network zone with broad connectivity or privileged egress. That can let an attacker pivot from a single vulnerable request handler into adjacent services, management planes, or metadata services that were never intended to be externally reachable.

The strongest examples are those where SSRF is used to harvest temporary cloud credentials, retrieve internal configuration, or probe internal-only endpoints. Capital One breach 2019 shows how SSRF can combine with cloud metadata access and over-privilege to create major exposure.

For application teams, the key lesson is that SSRF is often a trust-boundary failure rather than a simple URL bug. The server must be treated as a powerful network actor, not as a neutral transport layer.

Exposure, Detection, and Validation

Organisations should treat SSRF exposure as a combination of code, configuration, and network-path review. That means checking every feature that accepts URLs, hostnames, webhooks, imports, fetches, previews, callbacks, or link unfurling, then tracing whether the resulting outbound request can reach private ranges, metadata endpoints, localhost, or internal DNS names.

Security review should also include vendor advisories, deployment architecture, and egress policy. A feature can look harmless in the codebase yet still become exploitable because the runtime environment has permissive outbound access or because an upstream proxy follows redirects too freely. The SSRF Prevention Guide is a useful reference for the full prevention and validation problem.

Detection is usually indirect. Useful signals include unusual outbound requests, requests to link-local or metadata addresses, internal DNS lookups from web tiers, and web logs showing attacker-controlled inputs that resolve into unexpected destinations. Post-patch review should assume the component may already have been used to enumerate internal services or steal data before the flaw was fixed.

Prevention and Hardening

Prevention works best when the application enforces strict allowlisting of destinations and the network enforces egress boundaries that make unwanted reaches impossible or noisy. Input validation alone is not enough if the server can still follow redirects, resolve attacker-controlled DNS, or connect to arbitrary IP literals.

Defensive design also means refusing to trust browser-side checks, removing implicit fetch features where they are not needed, and making the server’s outbound behaviour explicit and testable. OWASP API Top 10 API7 Server-Side Request Forgery Guide is especially relevant where API endpoints consume URLs or trigger server-side callbacks.

When remediation cannot be immediate, compensating controls include outbound filtering, metadata service protections, proxy restrictions, DNS controls, and tighter segmentation between the vulnerable component and sensitive internal resources. Those controls reduce the blast radius even if the application still contains the flaw.

Risk and Threat Considerations

SSRF is high-impact because it turns a trusted server into an attacker-controlled pivot point. Once the server can be made to fetch arbitrary targets, the main risks are internal recon, credential exposure, lateral movement, and access to cloud or management endpoints that were never meant to be externally reachable.

Failure mechanism: The request handler accepts attacker-influenced destinations, then the server’s own network position, DNS resolution, redirect handling, or proxy behaviour carries the request into restricted space.

Impact: Attackers can enumerate internal services, extract metadata or tokens, and chain the weakness into broader compromise of adjacent systems or cloud resources.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV4 — API and Web ServiceUiServlet SSRF is a web service request validation problem.
Recommendation — Validate and constrain server-side URL handling and outbound request behavior.
OWASP API Security Top 10API7 — Server Side Request ForgeryThis term directly names the OWASP API SSRF risk.
Recommendation — Block attacker-controlled server-side fetches and restrict outbound destinations.
NIST SP 800-53 Rev 5SC-7 — Boundary ProtectionSSRF is materially reduced by controlling and filtering outbound network paths.
AC-4 — Information Flow EnforcementSSRF defense depends on enforcing allowed information and request flows.
CM-7 — Least FunctionalityReduce the request features and reachability that enable SSRF abuse.
Recommendation — Restrict and monitor outbound connections to approved destinations. Enforce approved request flows and deny unauthorized server-to-target communication. Remove unnecessary fetch functions and disable unneeded outbound reachability.

Practitioner Guidance

What to watch for: Treat any feature that fetches remote content as security-sensitive, even when it appears to be a convenience feature such as previews, webhooks, import tools, or link resolvers. The operational question is not whether the input is a URL, but whether the server is being asked to become a network client on behalf of untrusted users.

Governance implication: Ownership should sit with the application team and the platform or network team together, because effective control usually requires both secure code paths and restrictive egress policy. SSRF vs CSRF is useful when teams need to separate server-side request abuse from browser-side request abuse during triage and remediation planning.

Practitioner takeaway: If a component can make outbound requests, assume it needs explicit destination control, egress policy, and continuous testing, not just input sanitisation.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org