Northmere penetration test

Sample data for a fictional company on a Pentoma testbed. The assessment covered a web app and API for a B2B billing service.

Report ID
PNTM-2026-1109-NM01
Assessment date
November 9, 2026
Report generated
Nov 9, 2026, 9:30 PM UTC
In-scope hosts
app.northmere.testapi.northmere.test
Access tested
Authenticated billing member and billing admin roles, plus public routes

Executive summary

The assessment retained 8 findings. The engine confirmed 7, and 1 remains suspected. The public invoice lookup is the first fix to prioritize, followed by the two high-severity authorization findings.

All 2,286 planned requests completed. Testing covered public routes, members in two organizations, and an admin in the first organization.

Findings by severity

Critical
1
High
2
Medium
3
Low
2
Info
0

Findings index

FindingSeverityVerdict
F-01SQL injection in public invoice lookupCriticalconfirmed
F-02Invoices readable across organizationsHighconfirmed
F-03Export endpoint answers without authenticationHighconfirmed
F-04Member role can read admin billing settingsMediumconfirmed
F-05OpenAPI specification and Swagger UI exposedMediumconfirmed
F-06CORS allows any origin on the APIMediumconfirmed
F-07Stack traces returned by the PDF rendererLowconfirmed
F-08Session cookie set without the Secure flagLowsuspected

The assessment recorded 3 additional hardening observations outside the findings index.

F-01 SQL injection in public invoice lookup

CriticalCVSS 9.8CWE-89
ConfirmedEngine verified

Evidence

The engine reproduced the response-length difference on two replays. The test measured response metadata and read zero invoice rows.

https://api.northmere.testGET /v2/public/invoices/lookup

Parameter ref

Observed response metadata for F-01
RequestHTTP statusBytes
Baseline2001,523
True condition2001,523
False condition200342

Root cause

The shared repository builds SQL by interpolating the request's invoice reference. Lookup and pay share the same invoice query builder.

Impact

An unauthenticated attacker can read and change invoice records for every customer organization. The severity rating assumes broad invoice-table permissions.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

How to fix

Use a parameterized statement on both public lookup endpoints.

db.query('SELECT * FROM invoices WHERE ref = $1', [ref]);

Compliance mappings

  • SOC 2 CC7.1
  • ISO/IEC 27001:2022 A.8.8
  • ISO/IEC 27001:2022 A.8.29
  • PCI DSS v4.0.1 11.4
  • PCI DSS v4.0.1 6.2.4
  • OWASP A05:2025

Additional findings

F-02

Invoices readable across organizations

High severityconfirmed

A signed-in member can read confidential invoice details from another organization.

Fix. Derive the organization from the authenticated principal and require both organization ID and invoice ID in the lookup. Return 404 for a mismatch and test the same read under two organizations.

F-03

Export endpoint answers without authentication

High severityconfirmed

A caller without a session can retrieve confidential billing summaries.

Fix. Require authentication before the export handler and derive the organization scope from the session. Add authorization tests for anonymous requests and sessions outside the requested organization.

F-04

Member role can read admin billing settings

Medium severityconfirmed

Members can read restricted payment configuration and reconciliation metadata for their organization.

Fix. Require the billing-admin permission before resolving settings. Return 403 for members and verify that the permitted and denied roles receive the expected responses.

Get a report for your engagement

View pricing
Request a pentest