Skip to content
SSRF Write-up Intermediate

Import calendar from URL

The author suspected an SSRF vulnerability in Google Calendar's 'import calendar from URL' feature, as automated scans of internal ports produced different responses. However, Google's product team determined that the differing error messages were caused by a misbehaving caching mechanism, not by actual access to internal services.

komodosec.com

Published on komodosec.com

This is a story of what both I and Google engineers considered to be an SSRF vulnerability in Google Calendar – but turned out to be some caching mechanism that has gone rogue. And, while the result was a bit anticlimactic, the journey I went through along with Google’s security team was quite a fascinating (albeit…

The author, on komodosec.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

Impact

The apparent SSRF was not a real vulnerability; the differing responses were caused by a caching issue, so no internal access was actually possible.

What the attacker needed

A Google account; access to Google Calendar

The fix

The caching issue was fixed, and the same errors are no longer returned.

How it was found

  1. Use the 'add a remote calendar by providing its URL' feature in Google Calendar.
  2. Send automated requests to internal addresses with different ports.
  3. Observe different error responses for different ports, suggesting open/closed status.
  4. Report the suspected SSRF to Google.
  5. Google reproduces the issue but finds it is due to a caching mechanism, not 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.

The researcher thought that by giving Google Calendar a web address, they could make Google's servers fetch internal addresses and reveal which ports were open. This is called SSRF (Server-Side Request Forgery), where an attacker tricks a server into making requests to internal systems. But it turned out that the different error messages were just a caching bug, not real access to internal services.

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.