Skip to content
SSRF Write-up Intermediate

Discovering Full Read SSRF in Jamf (CVE-2021-39303 & CVE-2021-40809)

An authenticated user could supply a URL to a Jamf Pro endpoint that fetched the URL server-side and returned the full response, enabling access to the AWS metadata service and temporary credentials in Jamf Cloud.

blog.assetnote.io

Published on blog.assetnote.io

The advisory for this issue can be found here.

The author, on blog.assetnote.io

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 application passed a user-supplied URL directly to an HTTP client without validating or restricting the destination, and returned the full response body.

Impact

An authenticated user could read the full response from arbitrary URLs, and in Jamf Cloud this led to AWS metadata access and temporary credentials; a WAF rule blocked exploitation for all of Jamf Cloud until a fix was merged.

What the attacker needed

Authenticated Jamf Pro user; access to eduFeatureSettingsTest.html

The fix

The vulnerability was patched in Jamf 10.32, and upgrading to the latest version is recommended.

How it was found

  1. Log in to Jamf Pro and open the eduFeatureSettingsTest.html page.
  2. Submit a URL in the form, which sends an AJAX request with the imageUrl parameter.
  3. The server fetches the URL and returns the full response base64-encoded in the base64Image XML tag.
  4. Point the URL at the AWS metadata IP to obtain temporary credentials.

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.

Server-side request forgery (SSRF) is when a server fetches a URL on the attacker's behalf. Here, a logged-in user could make Jamf's server request any address, including the cloud provider's internal metadata service, and read the reply. That metadata service handed back temporary cloud credentials.

What is SSRF?

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

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.