When the Shared-Hosting Boundary Wasn't a Boundary
How a file-handling weakness combined with reused credentials and shared backups into one cross-tenant attack path.
The first signal
We were testing a customer-facing site hosted alongside several older applications. A file-handling weakness allowed controlled access outside the application upload directory. The immediate finding was serious, but the directory layout suggested a larger question: could one tenant reach material belonging to another?
With written approval, we checked the boundary using harmless marker files. The hosting account could read configuration and backup paths shared by neighbouring sites. No customer data was copied. The proof was limited to filenames, permissions and test records created for the exercise.
Why the boundary failed
Several sites ran under closely related operating-system permissions. Deployment keys had been reused, backups were stored on the same host, and an old automation script assumed that every application on the server belonged to one trusted team.
This was not a single dramatic zero-day. It was the accumulation of practical shortcuts. Each shortcut saved time when the environment was small; together they turned one compromised site into a route across the hosting estate.
The recovery plan
The client moved high-value applications into separate workloads and service accounts. Deployment credentials were replaced with scoped, short-lived access. Backups moved to a dedicated store with independent permissions, and the affected upload flow was rebuilt around generated filenames, content validation and storage outside the web root.
We returned after the migration and repeated the isolation tests from two different tenant contexts. The marker files were no longer reachable, and the new deployment process produced an auditable record for each application.