Skip to content
DoS Write-up Intermediate

Working with PaloAlto to identify CVE-2024-2550

A nil pointer dereference occurred in the GlobalProtect SSL VPN service when processing a SAML authentication response, causing a 'Temporary Unavailable' page instead of a session cookie. An attacker could potentially trigger this crash by sending a crafted SAML response, leading to a denial of service.

ac3.com.au

Published on ac3.com.au

AC3 are a secure managed services provider focused on building, running and security mission critical environments.

The author, on ac3.com.au

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 a nil pointer dereference in the SAML assertion consumer service when generating a session cookie, caused by unexpected input in the SAML response.

Impact

The vulnerability could cause a denial of service by crashing the VPN service, preventing users from authenticating.

What the attacker needed

Access to the VPN pre-login endpoint; a valid SAML identity provider; victim interacts with the identity provider

The fix

Palo Alto addressed the issue via a published CVE, but the text does not describe the specific fix.

How it was found

  1. Extract the SAML request from the pre-login URL using curl.
  2. Decode the Base64-encoded SAML request to reveal the identity provider URL.
  3. Access the identity provider URL in a browser and complete authentication.
  4. The identity provider posts a SAML response back to the VPN gateway.
  5. Observe the 'Temporary Unavailable' page and the nil pointer dereference error in the logs.

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.

When you log in to a VPN using a single sign-on service, the service sends a special message back to the VPN to confirm who you are. In this case, the VPN software made a mistake handling that message and crashed, so nobody could log in. The crash could be triggered repeatedly, which is a denial-of-service problem.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.