Skip to content
Info disclosure Write-up Intermediate

Quick-Skoping through Netskope SWG Tenants — CVE-2024–740

An unauthenticated attacker could obtain a user's Netskope client configuration file by supplying a valid email address and the tenant's organisation key to an endpoint. Importing this file into a Netskope client allowed the attacker to impersonate the user and gain their access privileges.

RedSeer Security Follow

Published on medium.com

Netskope is a cloud security company that provides a platform for securing cloud, web, and private apps. It offers a range of services including a cloud access security broker (CASB), secure web gateway (SWG), and zero trust network access (ZTNA), all delivered through a single cloud-native platform.

RedSeer Security, on medium.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 configuration endpoint returned a user's settings file based only on a tenant organisation key and an email address, without requiring authentication or proof that the requester owned that email.

Impact

An attacker could impersonate the user and, depending on that user's access level, potentially gain unfiltered access to the organisation's infrastructure.

What the attacker needed

Knowledge of a valid tenant name; a valid user email address; ability to install the Netskope client

The fix

Netskope should require authentication and verify that the requester is entitled to the requested user's configuration before returning it; the text references a security advisory but does not state the fix.

How it was found

  1. Discover tenant subdomains under goskope.com using a subdomain tool and filter for nsauth, vpn- and gateway- names.
  2. Send a request to the tenant's nsauth endpoint to obtain a SAML authentication request.
  3. Decode the SAML request and extract the organisation key from the issuer or assertion consumer service URL.
  4. Request the user configuration endpoint with the organisation key and a valid email address to receive the configuration file.
  5. Install the Netskope client, stop it, replace the existing configuration file with the obtained one, and restart the agent.

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.

Netskope is a security tool that organisations install on computers to route internet traffic through their cloud. Each user has a small settings file that tells the tool which organisation they belong to. The report shows that anyone who knew a user's email address and the organisation's public key could download that settings file and use it to pretend to be the user.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.