In brief
Before a security audit, an insurer should have up-to-date penetration tests of its internet-facing applications: the customer portal, the mobile app and APIs for agents and partners, with a focus on processes that move money, such as changing the payout bank account, changing a beneficiary and paying out a benefit. It also needs evidence that vulnerabilities were fixed and a testing program in line with DORA: a plan, scope, frequency and independent testers.
What the auditor looks for
An application security audit rarely stops at asking whether a penetration test was done. The auditor checks whether tests follow a plan, cover what matters and actually led to something.
| Evidence | Where it comes from | Common gap |
|---|---|---|
| List of applications with criticality ratings | ICT asset register | partner applications and old APIs missing from the list |
| Annual testing program | security team plan | a test every few years with no rationale for the scope |
| Test reports with scope and methodology | test provider | scope says "portal" with no list of functions and roles |
| Vulnerability register with deadlines | ticketing tool | vulnerabilities without an owner or closure date |
| Retest results | test provider | fix reported but never verified |
| Risk acceptances | business owner | exceptions without a signature or review date |
The most common weakness is not a lack of tests but a lack of continuity: a report from a year ago with findings still open, and new portal features that nobody tested.
High-risk processes at an insurer
An insurer's applications have a few places where a flaw turns directly into money or a leak of health data. Testing should start there, not with a scanner's checklist.
| Process | Example attack | What to check |
|---|---|---|
| Changing the payout bank account | a hijacked account changes the bank account just before a payout | extra confirmation, a cooling-off period, notification through another channel |
| Changing a beneficiary | swapping the beneficiary on a life policy | strong authentication, change history, notification |
| Online surrender and partial withdrawal | requesting a payout from someone else's policy | authorization at policy level, limits |
| Account recovery | account takeover via password reset or phone number change | identity verification, a hold after contact details change |
| Viewing policies and claims | changing the number in the URL and reading someone else's policy | object level access control on every API call |
| Claim reports with attachments | a malicious file, very large files | file type and size, scanning, isolated storage |
| Quote and purchase | changing the price in the request before binding | price calculated server side |
| Agent and partner APIs | access to another agent's policies, commission tampering | permissions at agent level, rate limits |
Reading someone else's object by swapping its identifier (BOLA) tops the OWASP API Security Top 10 from 2023. API testing principles are covered in the article on API security, and customer self-service in The insurer's customer portal.
Test scope and methodology
A report the auditor will accept describes what was tested, how and with what. Open OWASP standards work well:
- OWASP ASVS (currently version 5.0) as the list of requirements the application is assessed against at a chosen level;
- OWASP WSTG as the methodology for testing web applications;
- OWASP MASVS for the mobile app, with tests of on-device data storage and communication.
The scope should list the roles (customer, agent, adjuster, administrator), the environment, the application version and the exclusions. Testing in a test environment is safer, but it must have the same authentication configuration as production. The difference between a penetration test and a scan is explained in Penetration testing versus vulnerability scanning.
DORA: a testing program instead of a single test
Insurance undertakings are subject to DORA, Regulation (EU) 2022/2554. It requires a digital operational resilience testing program (Article 24), and Article 25 lists the types of tests, including vulnerability assessments, source code reviews, scenario-based tests and penetration tests. Systems and applications supporting critical or important functions must be tested at least yearly. Selected entities, identified by the supervisor, also perform threat-led penetration testing (Article 26).
In practice, an annual testing program combines several types: scanning in the CI pipeline on every release, a penetration test of critical applications once a year and after major changes, code review of payment and payout modules, and scenario tests of account takeover. Testers must be independent, and internal testers need safeguards against conflicts of interest. What DORA changes for an insurer's IT more broadly is covered in DORA at an insurer.
From report to closure
A test ends when vulnerabilities are fixed and verified, not when the report arrives. A process that convinces an auditor looks like this:
- Every vulnerability has a risk rating, an owner and a deadline based on the rating.
- The fix goes into the normal release cycle, with a regression test that checks it does not come back.
- The test provider verifies the fix in a retest and confirms closure.
- A vulnerability that cannot be fixed in time has a signed risk acceptance with a review date.
- Once a quarter, open items are reviewed with IT management.
This flow, with portal tests following OWASP WSTG and app tests following MASVS, is shown in the case study on security testing of an insurer's customer portal and app. We run these tests as part of our security testing service: we combine manual work with tools and describe every vulnerability with a risk rating and a way to fix it.
A three-month plan before the audit
| When | What to do |
|---|---|
| 12 weeks before | an up-to-date application list with criticality, review of reports from the latest tests |
| 10 weeks before | order tests of critical applications not tested in the last year or after a major change |
| 6 weeks before | test reports, a remediation plan with deadlines |
| 3 weeks before | fixes for critical and high vulnerabilities, retests |
| 1 week before | vulnerability register, risk acceptances, testing program for the next year |
Questions and answers
How often should an insurer's customer portal be tested?
If the portal supports a critical or important function within the meaning of DORA, at least once a year, and also after every major change, such as adding online payouts. Automated scanning is worth running on every release. The frequency for other applications follows from the risk assessment recorded in the testing program.
Is a vulnerability scanner enough instead of a penetration test?
No. A scanner finds known vulnerabilities and configuration errors, but it does not check process logic, such as changing a beneficiary or an agent's access to other agents' policies. Those flaws are found by an engineer who understands the process. DORA lists scanning and penetration testing as separate types of tests.
What should you do with a vulnerability that cannot be fixed quickly?
Reduce the risk with compensating controls, for example a web application firewall rule, an extra confirmation step or disabling the feature, and record a risk acceptance signed by the business owner with a review date. An auditor accepts a deliberate decision with a plan, not a vulnerability nobody knows about.
Is it acceptable to run security tests in production?
It can be, with the system owner's consent and an agreed window, scope and emergency contact. Tests of processes that move money are better run in a test environment with the same authentication configuration and masked data. Production is left for verifying configuration and components that cannot be reproduced elsewhere.