Skip to content
SSRF Write-up Intermediate

Zero-Day: Navigating the Storm of CVE-2024–21893 in Ivanti Products

A server-side request forgery (SSRF) vulnerability in the SAML component of Ivanti Connect Secure, Policy Secure, and Neurons for ZTA allows unauthenticated attackers to make the server send requests to arbitrary destinations. This could lead to unauthorised access to restricted resources and, when chained with another vulnerability, remote code execution.

elniak Follow

Published on systemweakness.com

In the ever-evolving cybersecurity landscape, the discovery of new vulnerabilities serves as a constant reminder of the need for vigilance and proactive measures. The recent disclosure of CVE-2024–21893, a server-side request forgery (SSRF) vulnerability in Ivanti’s security products, underscores this point.

ElNiak, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SAML server uses an outdated xmltooling library that processes KeyInfo RetrievalMethod URIs without restricting where it can fetch from, and the SAML endpoint is reachable without authentication.

Impact

The SSRF could allow unauthenticated attackers to access restricted resources, and the text notes it can be chained with CVE-2024-21887 for unauthenticated remote code execution.

What the attacker needed

Network access to the SAML endpoint; No authentication required; Attacker-controlled server to receive requests

The fix

Ivanti released patches for affected versions; if patching is not immediately possible, apply Ivanti's mitigation recommendations.

How it was found

  1. Send an unauthenticated HTTP POST request to the SAML endpoint /dana-ws/saml20.ws with an XML SOAP envelope containing a Signature with a KeyInfo RetrievalMethod element whose URI points to an attacker-controlled server.
  2. The SAML server processes the request and uses the xmltooling library to fetch the URI, causing an HTTP GET request to the attacker's server.
  3. The attacker listens on their server and receives the incoming request, confirming the SSRF.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a server-side request forgery (SSRF) bug. The Ivanti appliance has a SAML login endpoint that anyone can reach without logging in. When it processes a SAML message, it can be tricked into fetching a web address chosen by the attacker, so the attacker can make the server talk to internal systems or their own machine.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by elniak

View all

28 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.