The Challenge
The client is a small financial services business operating an internet-facing payments platform, a customer portal and a set of supporting APIs. Because the platform handles customer agreements, lead information and payment flows, the business needed independent assurance that its public-facing surface was not leaking sensitive data or credentials, and that one customer could not access another's records.
The firm had grown its application estate across several environments and wanted a clear, evidence-based picture of real exposure rather than a generic checklist. Of particular concern were authorization controls on customer data, how session tokens were issued and handled, and whether any development or debugging features had been left reachable in production.
They engaged us for a combined web application and API penetration test so that both the user-facing portal and the underlying service interfaces were examined together, reflecting how an attacker would actually move between them. The engagement needed to be thorough enough to stand up to the expectations placed on a regulated financial services provider.
Our Approach
We ran a combined web application and API penetration test over 29 testing days, covering the internet-facing payments host, the customer portal and the supporting service interfaces. The work blended authenticated and unauthenticated testing so we could see what an anonymous attacker on the internet could reach, as well as what a legitimate but malicious customer could attempt from inside a valid session.
Our testing focused on the areas most likely to cause real harm for a financial services platform: authorization between customer records, session and token handling, exposure of configuration and secrets, and the behavior of error and debug endpoints under abuse. We enumerated object identifiers to confirm whether access controls held, inspected how identity tokens were issued, trusted and transported across environments, and checked public sources for any token or data that may have leaked externally.
Findings were triaged by severity and documented with clear evidence and reproduction steps, so the client's developers could confirm each issue and understand its business impact. More on how these engagements run is on our web application testing and API testing pages at web application penetration testing and API penetration testing.
What We Found
We reported 18 findings: one critical, two high, seven medium, seven low and one informational. The critical issue was an unauthenticated development console exposed on an internet-facing payments host, leaking live datasource, payment-gateway and TLS secrets. This was compounded by hardcoded cleartext service-account credentials in application configuration, one of which was confirmed live.
The high-severity findings centered on broken authorization and weak session handling. We confirmed that any customer could retrieve another customer's agreement documents by altering an enumerable plan identifier, a classic broken object level authorization flaw. Session management was also weak: tokens were not revoked on logout, there was no idle timeout, and the raw replayable token was stored in the session cookie.
Medium and low findings formed clear themes: unauthenticated disclosure of lead information and predictable reference numbers, identity tokens passed in URL paths and captured in public web archives, cross-environment token trust from a shared signing key, a debug environment endpoint reachable in production, verbose backend and internal error disclosure, missing cookie security attributes, and gaps in HTTP security headers and email-security DNS hardening.
The Outcome
The engagement gave the client a prioritized, evidence-backed view of exactly where their payments platform and customer portal were exposed, and why each issue mattered in business terms. The single critical finding, an unauthenticated console leaking live payment and database secrets, was clearly the first priority, followed by the confirmed authorization flaw that allowed one customer to reach another's documents.
Each finding was delivered with reproduction steps and context so the client's developers could validate and remediate without guesswork. Grouping the lower-severity issues into themes, such as token transport and trust, session handling, error disclosure and security-header gaps, meant the team could address root causes rather than individual symptoms.
With the results in hand, the business has a concrete remediation roadmap across both the application and its APIs, and a baseline it can retest against once fixes are in place. We remain available to verify remediation once changes have been deployed. Organizations wanting a similar view of their own exposure can start at free consultation or read more about combined application and API testing at penetration testing services.
Why It Matters
For a financial services business, the trust customers place in the platform is the product. A single internet-facing console leaking live payment-gateway and database secrets could have handed an attacker the keys to the most sensitive parts of the environment, and a confirmed authorization flaw that lets any customer read another's agreement documents is exactly the kind of breach that erodes confidence and attracts regulatory attention.
What makes this engagement instructive is how ordinary the contributing issues were. Hardcoded credentials, debug endpoints left on in production, tokens carried in URLs and trusted across environments, and sessions that never truly expire are common by-products of fast development. Individually some look minor, but together they create a realistic path for an attacker to escalate from anonymous access to sensitive customer data.
Testing the web application and APIs together, as an attacker would, surfaced these relationships rather than isolated bugs. For any small financial services firm, periodic independent testing of internet-facing systems is a practical way to catch these patterns before they are exploited, and to demonstrate due diligence over customer data. More on web and API testing is at web application penetration testing and API penetration testing.
