When a URL Importer Reached Too Far
How authorization gaps, outbound request handling and cloud IAM permissions combined into one attack path — and how it was fixed.
Where the review started
The client asked us to assess a new data-analysis portal before a wider release. Users could create an account, upload a dataset, or ask the server to retrieve a file from a URL. The feature set looked small, which made it a useful reminder that security risk does not always follow product size.
During account testing we found that a new user could reach functions intended for administrators. The application trusted a role value too early in the registration flow. That access exposed the URL-import feature, which made outbound requests from the server without a strict destination policy.
How the weaknesses connected
On its own, the role error was an authorization defect. The URL importer was a separate server-side request issue. Together they created a route from a public account to services that should only have been reachable inside the cloud environment.
We stopped after proving controlled access to non-sensitive test material. The client team reproduced the path with us, which meant the fix could be discussed with developers and cloud owners at the same table rather than handed over as an isolated scanner finding.
What changed
The registration flow now assigns roles exclusively on the server and ignores client-supplied privilege fields. URL imports use an allowlist, resolve destinations before connecting, reject private and reserved addresses, and repeat those checks after redirects.
The cloud team also removed public bucket permissions, required the newer metadata-service flow, narrowed workload permissions, and rotated credentials that may have been exposed. Retesting covered the full chain rather than checking each fix in isolation.