Illustrative sample report — fictional client, representative structure & depth.
ORVANTISSecurity
Confidential

Penetration Test Report

Web Application &
API Security Assessment

External, grey-box engagement · OWASP-aligned manual testing

Prepared for: Northwind Microfinance Ltd (fictional)

Prepared by: Martin Mwathi, Orvantis Security

This is an illustrative sample. "Northwind Microfinance" is fictional and no real client is depicted. Hostnames, data and screenshots are redacted or synthetic. The report's structure, finding depth, proof-of-concept detail and remediation guidance are exactly what a real Orvantis engagement delivers. A live engagement report is delivered privately to the client and never published.

Document control

Report version1.0 (final)
ClassificationConfidential — client eyes only
Engagement typeWeb application + REST/GraphQL API penetration test
Testing window5 consecutive business days
MethodologyOWASP WSTG v4.2, OWASP API Security Top 10 (2023), manual-first
ScoringCVSS v4.0 base scores
RetestIncluded — performed after remediation window

Contents

1Executive summary

Orvantis Security was engaged to perform a manual, objective-driven penetration test of Northwind Microfinance's customer-facing web application and its supporting REST and GraphQL APIs. Testing was grey-box: we were provided two standard customer accounts and public documentation, and worked the application the way a motivated external attacker with a valid account would.

The assessment identified five issues. The most serious, taken together, allow an attacker holding only an ordinary customer login to read other customers' account data and transaction history, and to place orders at a price of their own choosing — a direct path to financial loss and a reportable data-protection breach. We judge the pre-remediation risk to the business as Critical.

Overall risk posture (pre-remediation)
CRITICAL

Driven by an exposed administrative credential and a broken authorization control that, chained, expose customer financial data with no special access.

1
Critical
1
High
2
Medium
1
Low
0
Info

What this means for the business

Two of these findings are not theoretical. We demonstrated, with working proof-of-concept, that a single customer account could reach data belonging to every other customer, and that the checkout flow would honour a price the customer set themselves. For a regulated microfinance business this is simultaneously a fraud exposure and a personal-data exposure under the Kenya Data Protection Act, 2019.

The good news

Every finding has a clear, mostly low-effort fix, and none require re-architecture. The two most serious issues are server-side authorization gaps that can be closed in days, not months. All five findings were re-tested after remediation and confirmed closed — see status in the summary table.

2Scope & approach

In scope

AssetDetail
Web applicationapp.xxxxxxxx.co.ke — authenticated customer portal
REST APIapi.xxxxxxxx.co.ke/v2
GraphQL APIapi.xxxxxxxx.co.ke/graphql
Test accounts2 × standard customer roles (no admin access provided)

Explicitly out of scope

Production payment-rail execution, denial-of-service testing, social engineering of staff, and third-party SaaS dashboards. Destructive testing was not performed; all exploitation was contained and reversible.

Approach

Testing followed the Orvantis offensive lifecycle — recon and mapping, threat modelling, manual exploitation, and chaining — prioritised by business impact rather than scanner output. No finding in this report was produced by an automated scanner alone; each was manually verified and reproduced. Where a weakness only became dangerous when combined with another, we report the chain, not the parts.

3Findings summary

IDFindingSeverityCVSS v4.0Retest
F-01Hardcoded administrative credentials in mobile API clientCritical9.3Closed
F-02Broken object-level authorization (IDOR) on account & statement endpointsHigh8.3Closed
F-03Server trusts client-supplied price at checkoutMedium6.9Closed
F-04Session / JWT not invalidated on logout; excessive token lifetimeMedium5.9Closed
F-05Missing security headers & verbose server errorsLow3.1Closed

4Detailed findings

F-01  

Hardcoded administrative credentials in mobile API client

Critical
CVSS v4.09.3 · Critical
VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
StatusClosed on retest

What we found

The Android client ships with a static administrative API key and a fallback service account baked directly into the compiled binary. Any party who downloads the app and decompiles it — a five-minute exercise — recovers a credential that authenticates against privileged API routes without a user login.

# Recovered from decompiled smali, string table (redacted)
X-Admin-Key: a9f3xxxxxxxxxxxxxxxxxxxxc01e
service_user: svc-sync@xxxxxxxx.internal
service_pass: xxxxxxxxxxxx

# This key authenticates directly against:
GET /v2/admin/customers        → 200 OK (full customer directory)
POST /v2/admin/adjustments     → 200 OK (ledger write)

Business impact

This single credential collapses the entire authorization model. It grants read access to the full customer directory and write access to the transaction ledger, with no user account required and no audit trail tied to a real person. In a microfinance context this is both a mass data-breach primitive and a fraud primitive.

A secret embedded in a client you hand to the public is not a secret. It is a published credential with extra steps.

Remediation

Remove all credentials from the client. Privileged operations must never be reachable with a key the client holds — move them behind server-side, per-user authorization. Rotate the exposed key and service account immediately, and audit the ledger for adjustments made via the service account.

Retest

Closed. The key was rotated and removed from the build; the admin routes now reject client-held keys and require an authenticated, authorised session. Verified against build 2.x.x.

F-02  

Broken object-level authorization (IDOR)

High
CVSS v4.08.3 · High
VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N
StatusClosed on retest

What we found

Account and statement endpoints authorise on authentication (is this a valid session?) but not on ownership (does this session own the record it asked for?). Changing the numeric account_id in a request returns another customer's data in full. IDs are sequential, so the entire customer base can be enumerated from one ordinary account.

# Logged in as customer A (account 100412). Request B's statement:
GET /v2/accounts/100411/statements  HTTP/1.1
Authorization: Bearer <customer-A session>

HTTP/1.1 200 OK   ← returns customer B's transactions, balance, KYC fields
{ "holder":"xxxxxxxxxx", "national_id":"xxxxxxxx", "balance": ... }

Business impact

Any customer can read every other customer's financial records and KYC data (names, national ID, phone, balances). This is a personal-data breach under the Kenya Data Protection Act, 2019, with mandatory notification implications, and it undermines customer trust directly.

Remediation

Enforce an ownership check on every object access, server-side: the authenticated principal must own, or be explicitly entitled to, the requested resource. Do not rely on unguessable or sequential IDs as a control. Apply the check at a central layer so new endpoints inherit it by default.

Retest

Closed. Cross-account requests now return 403 Forbidden; ownership is enforced at the service layer and covered by regression tests the client added.

F-03  

Server trusts client-supplied price at checkout

Medium
CVSS v4.06.9 · Medium
VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N
StatusClosed on retest

What we found

The payment-initiation endpoint accepts an amount field from the client and uses it as the authoritative charge, rather than deriving the amount server-side from the order. An attacker can set any value, including near-zero.

POST /v2/orders/checkout  HTTP/1.1
{ "order_id": 55120, "amount": 0.01 }

HTTP/1.1 200 OK   ← order fulfilled for KES 0.01 instead of listed price

Business impact

Direct financial loss: products or disbursements can be obtained for a fraction of their price. A business-logic flaw of this kind is invisible to scanners and to compliance checklists, yet trivially exploitable once found.

Remediation

Never trust a client-supplied price or quantity. Derive the authoritative amount on the server from the order record at the moment of charge, and reject requests whose client-asserted total disagrees.

Retest

Closed. The amount is now computed server-side and the client value is ignored; tampered requests are rejected.

F-04  

Session / JWT not invalidated on logout; excessive lifetime

Medium
CVSS v4.05.9 · Medium
VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
StatusClosed on retest

What we found

Logout clears the token client-side only. The issued JWT remains valid server-side for its full 30-day lifetime, with no revocation list. A token captured from a shared device, proxy log, or backup continues to authenticate long after the user believes they have signed out.

Business impact

A stolen or lingering token grants extended account access that the user cannot actually terminate. The long lifetime widens every token-theft scenario.

Remediation

Maintain server-side session state or a revocation list so logout genuinely invalidates the token. Shorten access-token lifetime (minutes) and use refresh tokens that can be revoked. Invalidate all sessions on password change.

Retest

Closed. Logout now revokes the token server-side; access-token lifetime reduced and refresh-token revocation implemented.

F-05  

Missing security headers & verbose server errors

Low
CVSS v4.03.1 · Low
VectorAV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
StatusClosed on retest

What we found

Responses omit Content-Security-Policy, Strict-Transport-Security and X-Content-Type-Options, and unhandled errors return full stack traces disclosing framework versions and internal paths. Individually minor; together they ease an attacker's recon and widen the impact of any future client-side flaw.

Remediation

Add the standard security-header set at the edge, enable HSTS, and return generic error pages while logging detail server-side only.

Retest

Closed. Headers deployed and verified; error handling now returns generic responses.

5Remediation roadmap

Suggested order of work, by risk reduced per unit of effort:

PriorityActionAddressesEffort
ImmediateRotate & remove hardcoded admin key; audit ledger for misuseF-01Low
ImmediateEnforce server-side ownership checks on all object accessF-02Low–Med
Short-termDerive charge amount server-side; reject client totalsF-03Low
Short-termServer-side session revocation; shorten token lifetimeF-04Medium
HygieneDeploy security headers; generic error handlingF-05Low

Every item above was completed by the client and confirmed closed at retest. No finding in this engagement remained open at delivery.

6Methodology & tooling

Testing was manual-first and mapped to recognised standards: OWASP Web Security Testing Guide v4.2, the OWASP API Security Top 10 (2023), and the OWASP MASVS for the mobile client. Automated tooling is used only for breadth and coverage — never as the basis of a finding. Every issue in this report was reproduced by hand and carries a working proof-of-concept.

Representative tooling

Recon & mapping: Amass, Subfinder, custom enumeration · Testing & exploitation: Burp Suite Professional, ffuf, custom scripts · Mobile: static decompilation + dynamic instrumentation · Scoring: CVSS v4.0.

Severity & scoring

Severities combine the CVSS v4.0 base score with business context — a technically identical flaw is rated higher where it touches regulated data or money. Scores describe risk to this environment, not a generic one.


About Orvantis Security

Orvantis Security is a founder-led offensive-security practice. The same person scopes, tests and reports every engagement — no hand-offs, no account managers, no scanner output dressed up as a penetration test. Findings are proven with working proof-of-concept or they are not reported, and a retest is included until the risk is actually closed.

Attacker mindset. Defender mission.   orvantis.co.ke · [email protected]

Orvantis Security · Sample report (fictional client) Confidential — illustrative