How I Found an SSRF on a University Website as a Beginner
A university portal's Web Clips feature fetched external URLs server-side without adequate restriction, allowing an attacker to make the server send requests to an attacker-controlled endpoint. The author confirmed outbound DNS and HTTP interactions but could not access cloud metadata due to URL validation.
medium.com
Published on medium.com
While focusing on strengthening my web security fundamentals, I had temporarily paused bug bounty hunting. During this time, I was fully dedicated to learning core concepts and practicing labs, so I usually ignored the Medium emails I received every day.
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 Web Clips import feature accepted user-supplied URLs and fetched them server-side without sufficiently restricting destinations to safe external addresses.
Impact
An attacker could make the server send requests to an attacker-controlled endpoint, but strict URL validation blocked attempts to reach cloud metadata, so no internal data was extracted.
What the attacker needed
A free user account; access to the Web Clips feature; an attacker-controlled endpoint
The fix
The application should restrict server-side fetches to an allowlist of permitted external hosts and block private and metadata address ranges.
How it was found
- Find a university website with a public security disclosure page using Google dorking.
- Create a user account on the university portal.
- Locate the Web Clips feature that imports content from external websites.
- Submit a Burp Collaborator URL in the Web Clips input field.
- Poll Burp Collaborator and observe DNS and HTTP interactions from the server.
- Check the source IP with dig and IP lookup services to confirm it is not the local machine.
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) happens when a website lets a user supply a web address and the server itself fetches that address. Here, the 'Web Clips' import feature did exactly that, so the researcher pointed it at a server they controlled and saw the university's server connect out to them. That proves the server can be tricked into making requests on the attacker's behalf, though stricter checks stopped it from reaching internal cloud metadata.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.