Skip to content
All projects

Security testing of an insurer's customer portal and app

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
The portal lets users change beneficiaries and payout details, which makes it an attractive target for account takeover.
Approach
We test the portal against OWASP WSTG and the app against MASVS, with particular emphasis on high-risk processes: changing the beneficiary, changing the payout account, account recovery.
Goal
Open critical and high vulnerabilities: 0 before release; Average time to fix a high vulnerability: ≤ 14 days.

Client context

The insurance market in Poland is shifting sales to digital channels and bancassurance, which requires integration with partners and consistent customer service across many channels. A life insurer with a customer portal and a mobile app that let customers view policies, file claims and change beneficiaries.

Challenge

The portal lets users change beneficiaries and payout details, which makes it an attractive target for account takeover. The insurer needs an independent assessment before extending the functionality to online payouts.

Requirements and constraints

  • GDPR, Regulation (EU) 2016/679, requires data minimization, a legal basis for processing and data processing agreements, and, for high-risk processing, a data protection impact assessment (DPIA). In practice it rules out copying production data to test environments without anonymization or pseudonymization. (source)
  • DORA, Regulation (EU) 2022/2554, requires ICT risk management, a register of contracts with ICT providers, classification and reporting of major incidents, and regular testing of operational resilience. For the project this means every new component needs an owner, a dependency map and a resilience test scenario, and the provider (including us) is entered in the register of information on contracts. (source)
  • The IDD directive and the Polish act on insurance distribution regulate needs assessment, delivery of documents (KID/IPID) and management of conflicts of interest in distribution. A digital sales path must leave a trail that can be reconstructed when a complaint is filed. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, every deliverable supplied with documentation that the client's team can take over.

Approach and architecture

We start with a threat model (STRIDE) and an attack surface map, agree on rules of engagement and test windows, and then test in gray-box mode. We plug SAST, dependency analysis (SCA) and DAST into the pipeline so that later releases do not introduce known classes of bugs. The report has two layers: a technical one for the team and a management one with a risk assessment.

We test the portal against OWASP WSTG and the app against MASVS, with particular emphasis on high-risk processes: changing the beneficiary, changing the payout account, account recovery. Abuse scenarios include session hijacking, bypassing the second factor and manipulating policy identifiers.

Key elements of the solution:

  • A threat model for the payout data change processes
  • Mobile app tests: data storage, certificate pinning, tamper protection
  • Business logic tests on test accounts
  • Recommendations for confirming changes through an independent channel

Team and roles

RoleCountResponsibility
Security architect1threat model, security requirements, design reviews
Pentester (OSCP/OSWE)2manual testing, exploitation, remediation recommendations
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Threat model and rules of engagement1–1threat model, scope, authorizations
2. Reconnaissance and automated testing2–2attack surface map
3. Manual testing and business logic3–4list of vulnerabilities with CVSS
4. Report and remediation workshop5–5technical and management report
5. Retest and plugging scans into CI6–6confirmation of fixes, security gates

Technology stack

Burp Suite, MobSF, Frida, OWASP ZAP, Semgrep.

Risks and how we mitigate them

RiskHow we mitigate it
Disruption of production during security testingrules of engagement, test windows, destructive tests disabled on production, an emergency channel
No test data free of personal dataa synthetic data generator and masking that preserves referential integrity; a ban on copying production to test
Auditor or supervisor findings after go-livecompliance function involved from the analysis phase, evidence collected along the way, a review before acceptance

Measurable goals and KPIs

The values below are goals that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Open critical and high vulnerabilities0 before releasevulnerability register
Average time to fix a high vulnerability≤ 14 daysvulnerability register

Lessons learned and good practices

Processes that change payout data should always require confirmation through another channel. It is a cheap and effective control. Mobile app tests must be run on the production version from the store, not only on a test build. A retest is part of the service, not an add-on. Without it, the report is only a wish list.

Why B2B.net

We combine two models: we provide individual specialists and whole teams (time and materials, team leasing), and when a client prefers to hand over responsibility for the result, we work at a fixed price for a defined scope. We have access to a large network of engineers in six cities, SAP Center of Expertise competencies, and experience with ISO 27001, DORA and NIS2 requirements. If someone leaves the team, a replacement is in place within 5 business days.

Acceptance criteria

Each phase ends with a formal acceptance against criteria agreed at the start. In this project, acceptance covers: threat model, scope, authorizations; attack surface map; list of vulnerabilities with CVSS; technical and management report; confirmation of fixes, security gates. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.

Next step

Want to see how such a project would look in your organization? Book a 30-minute call. We will prepare a plan for the first six weeks and a team lineup matched to your system.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Insurance