Blind SSRF on coda.io
The Coda.io document editor automatically made a server-side request to any URL pasted into a document via the oembedResolve API endpoint. An attacker could paste a URL pointing to an internal or attacker-controlled server, causing the Coda server to connect to it, enabling blind SSRF.
Published on web.archive.org
#### Kleitonx00
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 oembedResolve endpoint accepted an arbitrary URL from the user and made a server-side request to it without validating or restricting the destination.
Impact
An attacker could make the Coda server send requests to arbitrary hosts, including internal addresses, but the response is not returned to the attacker (blind SSRF). The report notes the endpoint was out of scope.
What the attacker needed
A free account; ability to paste a link into a document
How it was found
- Create an account and start a new document.
- Paste a link into the document.
- Capture the request to the oembedResolve API endpoint.
- Replace the url parameter with a URL pointing to your own listener.
- Send the request and observe a connection from the Coda server.
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 paste a web address into a document, the website's server fetches that address to show a preview. Here, the server fetched any address you gave it, even ones not on the public internet. That let an attacker make the server connect to internal services or their own listener, which is called blind SSRF because the attacker does not see the response.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.