The Challenge
A small technology business building a software-as-a-service product needed independent assurance over the security of its customer-facing web application and the API that supported it. Like many growing SaaS teams, the client had moved quickly to ship features and wanted to understand where speed had come at the cost of secure defaults before the platform scaled further.
The key concerns were straightforward but important. How were customer passwords handled from the browser through to storage? Could the sign-in and registration flows leak information about who held accounts? Were payments being processed in a way that could be abused? And were the servers behind the application exposing anything that an attacker on the public internet could reach without credentials?
The client wanted a clear, prioritized view of real risk rather than a long list of theoretical issues. The brief covered both the application surface and the API, so that authentication, input handling and the supporting infrastructure could all be assessed together in a single engagement.
Our Approach
We ran a combined web application penetration test and API penetration testing over fifteen testing days, working through the application the way a determined attacker would and then pivoting to the API that sat behind it.
Our work moved through several themes:
- Authentication and account handling, including how registration and sign-in behaved for valid and invalid accounts, how password rules were enforced, and how credentials were stored and returned.
- Input handling across user-controlled fields, checking whether data was sanitized on the server rather than only in the browser.
- Payment flows, confirming whether subscriptions could be created in ways that bypassed real payment processing.
- The supporting infrastructure, looking at exposed services, transport encryption and internet-facing management interfaces.
Each finding was validated by hand to remove false positives and then rated by severity and real-world impact. We documented clear reproduction steps and practical remediation guidance so the client's developers could act on the results directly, with the most consequential issues flagged for early attention rather than buried in a backlog.
What We Found
The testing produced fourteen findings, weighted towards the medium range, with no critical or high issues identified. Eight were rated medium, four low, and two informational.
The most consequential themes concerned how credentials were handled. Passwords were stored in a recoverable form and could be returned by the parent API, which undermines the basic expectation that a system never has access to plaintext passwords. Password complexity was only enforced in the browser, meaning the rules could be skipped by interacting with the API directly, and a form behavior let an attacker confirm which email addresses had accounts.
Transport and infrastructure weaknesses also featured. A server exposed a code repository and a database login over unencrypted HTTP, and a mail server presented an outdated scripting runtime alongside internet-facing hosting control panels. On the payments side, subscriptions could be accepted using test-mode payments. We also identified a user-supplied field processed without proper server-side sanitization, creating an injection candidate worth remediating.
Taken together, the findings pointed to a platform where secure defaults around credentials, transport and input validation had not yet caught up with the pace of development.
The Outcome
We delivered a prioritized report that grouped the findings by theme so the client could see the throughline rather than fourteen isolated items. The credential-handling issues were highlighted as the first priority, since recoverable password storage and an API that could return passwords represent a systemic weakness rather than a single bug.
For each finding we provided reproduction steps and specific, developer-focused remediation guidance: moving to one-way hashing for stored passwords, enforcing password rules server-side, suppressing responses that confirm which accounts exist, moving exposed services behind encrypted transport, restricting internet-facing management interfaces, enforcing live payment processing, and sanitizing user input on the server.
Because this was a point-in-time assessment, the report framed the work as a clear remediation plan rather than a verdict on the client's current state. The client left the engagement with an ordered backlog, an understanding of which issues carried the most weight, and the detail needed to verify fixes. We remain available to retest once remediation is underway so that closure can be confirmed against the original findings.
Why It Matters
For a small SaaS business, trust in how customer data and credentials are handled is part of the product. The issues found here are common in fast-moving teams, but they matter because they compound. Recoverable password storage means a single breach of the database or API exposes usable credentials directly, and because people reuse passwords, that exposure often reaches well beyond the affected platform.
Enforcing rules only in the browser is another recurring trap. Any control that lives solely in the client can be bypassed by talking to the API directly, so password strength, input validation and business logic all need to be enforced on the server. Likewise, exposing repositories, database logins or management panels over the public internet gives an attacker a foothold before they have even reached the application.
Addressing these foundations early is far cheaper than retrofitting them after growth, a partner deal or an incident forces the issue. Testing both the application and its API together, as part of a broader penetration testing program, gives a growing SaaS company the confidence that its security has kept pace with its features. If you would like to discuss a similar assessment, our team is happy to help through a free consultation.
