Demonstration report · synthetic data

Penetration Test Report: Web application and API of a SaaS platform

Management summary and technical findings with reproduction steps and a retest.

WYSS Intelligence · Penetration Test ReportWI-DEMO-PT-03Synthetic data

Summary

  1. Seven findings: two critical, two high, two medium, one low.
  2. Both critical findings allow access across tenant boundaries and should be fixed before the next release.
  3. The retest confirmed the fix of six findings; one medium finding is accepted by the customer.

Technical findings

FindingAffectedSeverity
Cross-tenant access to invoices through the APIGET /api/v2/invoices/{id}Critical
Privilege escalation from editor to administratorRole update endpointCritical
Stored cross-site scripting in the comment fieldTicket viewHigh
Password reset token valid for 24 hoursAccount recoveryHigh
Verbose error messages reveal the framework versionAll API endpointsMedium
Session stays valid after a password changeSession handlingMedium
Security headers missing on the marketing sitePublic websiteLow

Approach

  1. Written authorisation: targets, test window, five test accounts in two tenants, emergency contact.
  2. Manual testing of authentication, authorisation, tenant isolation and business logic, supported by tools.
  3. Every finding reproduced a second time and recorded with request, response and evidence hash.
  4. Retest of all findings after remediation; written verification summary.

Each finding contains

Description
what is wrong and why it matters
Reproduction
request, response and screenshot
Evidence
SHA-256 of every evidence file
Recommendation
concrete fix and a way to verify it

Limits

  • Tested: the agreed targets in the agreed window, under written authorisation.
  • Not tested: denial of service, social engineering, third-party systems.
  • A test shows the state at the time of testing, not future changes.

Annex: all seven findings in detail

FindingReproductionEvidenceRecommendation
1. Cross-tenant access to invoices (critical)As editor of Tenant A, request GET /api/v2/invoices/2077, an invoice of Tenant B: 200 with the invoiceRequest and response, E-01Bind every invoice query to the tenant of the session; retest: 403
2. Privilege escalation from editor to administrator (critical)As editor, send PATCH /api/v2/users/me with role=admin: role changesRequest, response and screenshot, E-02Accept role changes from administrators only, checked on the server; retest: 403
3. Stored cross-site scripting in the comment field (high)Save a comment containing a script element; it runs when an agent opens the ticketScreenshot and stored payload, E-03Encode output in the ticket view and restrict scripts by policy; retest: not executed
4. Password reset token valid for 24 hours (high)Request a reset link and use it 23 hours later: password is changedTimestamps of both requests, E-04Limit validity to 30 minutes and to one use; retest: expired
5. Verbose error messages (medium)Send malformed JSON to any endpoint: the response names framework and versionResponse body, E-05Return a generic error and log the detail on the server; retest: generic message
6. Session stays valid after a password change (medium)Change the password in one browser; the session in a second browser still worksTwo session recordings, E-06Revoke all sessions on a password change; accepted by the customer for this release
7. Security headers missing on the marketing site (low)Fetch the public site: no Content-Security-Policy, no X-Content-Type-OptionsResponse headers, E-07Set both headers on the web server; retest: present
What a deliverable looks like. Every report here uses synthetic data: no real person, company or event.