The Challenge
The client is a small technology and software-as-a-service business based. Its platform serves customers and business partners through a web application and a supporting API, with protected areas intended to keep customer administration and partner commercial information behind authentication.
The business wanted independent confirmation that these access controls held up in practice, and that the application and its gateway in front of it were configured to resist common web attacks. Much of the platform's value sits in the partner commercial information and customer management functions, so any gap that let an unauthenticated visitor reach that material would have a direct business impact.
The engagement was scoped as a combined web application and API penetration test across three hosts, carried out over six days. The goal was not only to confirm whether protected areas were genuinely protected, but to look closely at redirect behavior, session handling, the gateway's request inspection, and any legacy code or endpoints that might still be reachable.
Our Approach
We ran a focused, manual-led assessment over six testing days, combining authenticated and unauthenticated perspectives across the web application and its API. Rather than rely on automated scanning alone, our testers worked through the application's redirect logic, session management and access controls by hand, because those are the areas where subtle flaws tend to hide.
Our web application testing looked carefully at how the application responded to unauthenticated requests for protected pages, how redirects were constructed, and whether response bodies leaked content they should not. We examined the application gateway sitting in front of the three hosts to understand how it handled headers, request inspection and session affinity cookies.
We also reviewed client-side resources, caching endpoints, source code comments and the HTTP methods the application accepted. Each finding was verified to remove false positives, rated by severity and documented with clear, reproducible steps so the client's team could confirm and remediate it without ambiguity.
What We Found
Across the engagement we reported thirty-one findings: three high, seven medium, seven low and fourteen informational, with no critical issues.
The most serious theme was broken access control around a protected area. An unauthenticated redirect returned the full markup of the protected partner area in its response body, exposing customer administration and the partner commercial information to anyone who requested the page. A legacy cache-clearing endpoint remained present and executed without authentication while disguising itself behind a not-found style response. Files remaining in a documentation library were served without authentication even though directory listing had been disabled.
A second theme was the gateway and redirect behavior. The gateway performed no request inspection, so common attack payloads reached the application unimpeded, and it did not rewrite redirect headers, disclosing backend hostnames. Redirect responses carried full page bodies, and clients that refused cookies could be trapped in an infinite redirect loop.
Further findings covered weak cross-site request forgery defenses, a permissive content security policy allowing unsafe-inline and unsafe-eval, a session affinity cookie missing Secure and HttpOnly, missing subresource integrity on a loaded script, commented-out code disclosing a decommissioned service, and acceptance of unsafe HTTP methods.
The Outcome
The engagement gave the client a clear, prioritized picture of where its protected areas were not actually protected and where the gateway was letting traffic through without inspection. The three high-risk findings, each tied to unauthenticated exposure of content or functionality, were documented with reproducible steps so the client's team could confirm them directly and plan remediation in a sensible order.
The medium and low findings formed a practical hardening list covering redirect handling, cross-site request forgery defenses, session cookie attributes, content security policy and the HTTP methods the application accepts. The informational findings rounded out the report with configuration observations worth tidying up over time.
Because the report distinguished genuine access-control failures from lower-risk configuration weaknesses, the client could direct effort first at the issues that exposed customer and partner information, then work through the broader hardening items as capacity allowed. The findings were delivered with enough detail for retesting once fixes are in place.
Why It Matters
For a software-as-a-service business, the boundary between public pages and protected areas is the product. When an unauthenticated request can return the full content of a protected partner area, or a forgotten endpoint executes without a login, the access control that customers and partners rely on is not actually enforced, regardless of what the login page suggests.
This engagement shows why protected areas need to be tested the way an attacker would probe them, rather than assumed to be safe because a sign-in screen exists. Several of the issues, such as redirects that still carry full page bodies and a gateway that does not inspect requests, are easy to overlook in normal use but straightforward to exploit once found.
It also shows the value of looking at the whole path a request travels, from the gateway through to legacy code and leftover files. Addressing these issues reduces the risk of commercial data exposure and strengthens the platform customers depend on. Businesses wanting the same assurance can start with a free consultation or explore our penetration testing services.
