Sample · Lab demonstration

Penetration Test Report Example

A complete example report - executive summary, CVSS-scored findings with real evidence, and a prioritised remediation roadmap - so you can judge the deliverable before you commit to an engagement. Built against a lab target, not a client.

Read this first: this is a demonstration

Every finding below was produced against a deliberately vulnerable lab environment built for this page. There is no client here, real or disguised. All hosts use .example, a reserved documentation domain that cannot resolve to a real system.

Publishing a genuine client report - even redacted - needs that client’s consent, and consent is not something to assume. So rather than dress up a real engagement, this shows you the same thing that actually matters when you are choosing a tester: the structure, the depth of evidence, and the tone. Your report follows this format exactly.

Document control

Every report opens with this. If a report you are handed does not tell you what was in scope and what was explicitly excluded, you cannot tell what its clean sections actually mean.

EngagementExternal network and web application penetration test (demonstration)
Targetapp.northwind-demo.example, 203.0.113.0/29 (lab)
MethodologyOWASP Testing Guide v4.2, PTES, manual verification of every automated result
Window5 business days testing, 2 days reporting
AuthorisationSigned rules of engagement and mutual NDA before any traffic was sent
Out of scopeDenial of service, physical, social engineering against staff, third-party SaaS
TesterCyberShells senior tester, OSCP+ (verify)

1. Executive summary

Written for whoever signs off on the budget, not for engineers. No tool names, no jargon, no CVSS vectors - those live in section 3.

Testing against the in-scope perimeter identified three issues that would allow an attacker to reach customer data, the most serious of which required no credentials and no user interaction.

An unauthenticated attacker on the internet was able to retrieve other customers’ invoice records by changing a single number in a URL. No exploitation tooling was needed; a browser was sufficient. The same class of flaw appeared in two further endpoints, which suggests the underlying cause is an architectural gap in how the application checks ownership of a record rather than three isolated mistakes.

Separately, an administrative interface was reachable from the public internet with a default credential pair still active. Together these two findings represent a credible path from “anonymous internet user” to “full read access to the customer database” within roughly fifteen minutes.

The remediation work is small. The ownership check is a single middleware change; the exposed interface needs a firewall rule and a password rotation. Both are days of work, not quarters. Priorities and owners are in section 4.

2. Findings at a glance

SeverityCountWhat it means for you
Critical1Exploitable now, by anyone, with direct access to sensitive data. Fix before the next release.
High2Exploitable with modest effort or one precondition. Fix this sprint.
Medium4Real, but needs chaining or an insider position. Schedule.
Low6Hardening and defence-in-depth. Fix opportunistically.
Informational5No direct risk; recorded so you have the full picture.

A report that is all Low and Informational is not good news - it usually means the test stayed on the surface. Ask what was attempted, not just what was found.

3. Findings in detail

Three of the sixteen findings are reproduced in full below, at different severities, so you can see how each level is evidenced and written up. A real report carries every finding at this depth.

3.1. Unauthenticated access to other customers’ invoices (IDOR) Critical

CVSS v3.19.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AffectedGET /api/v2/invoices/{id} on app.northwind-demo.example
ClassificationCWE-639 Authorization Bypass Through User-Controlled Key · OWASP A01:2021 Broken Access Control

What happens

The invoice endpoint returns a record based solely on the identifier in the URL. It never checks that the record belongs to the session making the request - and on this endpoint, it never checks that there is a session.

Evidence

$ curl -s https://app.northwind-demo.example/api/v2/invoices/10432
{"id":10432,"customer":"Acme Supplies Ltd","total":"14820.00",
 "email":"ap@acme-supplies.example","vat":"GB123456789",
 "lines":[{"sku":"NW-2231","qty":40,"net":"12350.00"}]}

# No cookie, no bearer token, no API key. Sequential IDs enumerate:
$ for i in $(seq 10430 10435); do \
    curl -s .../api/v2/invoices/$i | jq -r .customer; done
Bauer Logistik GmbH
Acme Supplies Ltd
Prime Retail SA
… 6 of 6 returned another tenant’s record

Identifiers are sequential, so the full invoice table is enumerable. Testing stopped at six records: enough to prove the issue, not more than needed. No data was retained, and the rules of engagement said so in advance.

Business impact

Customer names, contact addresses, VAT numbers and order values are retrievable by anyone who can reach the site. Under GDPR this is a personal-data breach with a 72-hour notification clock attached. It is also the kind of finding that ends an enterprise procurement review.

Remediation

Enforce the ownership check server-side, in middleware that every record-fetching route inherits rather than per-handler - the two further instances in 3.2 and 3.4 exist because this is currently per-handler. Scope the query to the authenticated tenant: Invoice.where(tenant: current_tenant).find(params[:id]). Return 404, not 403, so the endpoint does not confirm which identifiers exist. Replace sequential IDs with UUIDs as defence in depth - but on its own that is obscurity, not a fix.

Retest

Verified fixed on 2026-00-00 (placeholder). Re-tested with the original request plus six adjacent identifiers; all returned 404 unauthenticated and 404 when authenticated as a different tenant.

3.2. Administrative console exposed with default credentials High

CVSS v3.18.6 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Affectedhttps://203.0.113.4:8443/manager/html
ClassificationCWE-1392 Use of Default Credentials · OWASP A07:2021 Identification and Authentication Failures

What happens

An application-server management console is reachable from the public internet. The vendor default account is still present and enabled.

Evidence

$ nmap -p8443 -sV 203.0.113.4
PORT     STATE SERVICE  VERSION
8443/tcp open  ssl/http Apache Tomcat 9.0.54

$ curl -sk -u tomcat:tomcat https://203.0.113.4:8443/manager/html \
    -o /dev/null -w "%{http_code}\n"
200

Authentication succeeded. In line with the rules of engagement, testing stopped at proof of access - no application was deployed, no configuration changed, no command executed. The console permits WAR deployment, which is a direct path to code execution on the host.

Business impact

Code execution on an internet-facing host, which is a foothold inside the network perimeter. Chained with 3.1 this moves an attacker from reading records to controlling the system that serves them.

Remediation

Restrict :8443 to management networks or a VPN at the firewall - it has no reason to face the internet. Delete the default account rather than renaming it. If the manager application is unused, remove it from the deployment entirely; it is the most reliable fix.

3.3. Session cookie missing HttpOnly and SameSite Medium

CVSS v3.15.4 AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
AffectedSet-Cookie: session=… on app.northwind-demo.example
ClassificationCWE-1004 Sensitive Cookie Without HttpOnly · CWE-352 Cross-Site Request Forgery

What happens

Set-Cookie: session=eyJ1aWQiOjQ0Mn0; Path=/; Secure

Secure is set, so the cookie will not cross plain HTTP. HttpOnly and SameSite are both absent.

Business impact

On its own this is not exploitable - it is a severity multiplier. Without HttpOnly, any future cross-site scripting flaw escalates from “runs script” to “steals sessions”. Without SameSite, state-changing requests are forgeable from another site. It is rated Medium because no XSS was found during this test; that rating moves if one appears later.

Remediation

Set-Cookie: session=…; Path=/; Secure; HttpOnly; SameSite=Lax. Use Strict if no cross-site navigation needs to carry the session. You can check what your own site currently sends with the free security headers checker.

4. Remediation roadmap

Findings ordered by what to do first, not by score. A list of twenty issues with no sequencing is a list, not a plan.

#PriorityActionEffortTarget
3.1NowTenant-scoped authorisation middleware on all record routes1–2 daysBefore next release
3.2NowFirewall :8443; remove default account2 hoursImmediate
3.4This sprintSecond and third IDOR instances (covered by the 3.1 fix)IncludedWith 3.1
3.3This quarterCookie flags; CSRF tokens on state-changing routesHalf a dayNext sprint
3.5–3.9ScheduledHeader hardening, TLS cipher cleanup, version disclosure1 day totalNext maintenance window

5. Retest and attestation

A report is not the end of the engagement. Included in the price:

  • One full retest of every finding once you have remediated, within 90 days. Each finding is marked fixed, partially fixed, or still present - with fresh evidence either way.
  • A remediation letter stating what was retested and what the outcome was. This is the document auditors and enterprise customers usually want, more than the report itself.
  • An attestation letter confirming an independent test took place, its scope and its dates - shareable with customers without handing them your findings.

NESA IAS expects remediation and retest evidence for critical and high findings inside roughly 90 days, and assessors review the tester’s credentials; SOC 2 CC7.1 and PCI DSS Requirement 11.4 both expect documented follow-through rather than a one-off scan. The compliance pages go through what each framework actually asks for.

What a good report is not

  • Not raw scanner output. If findings arrive with a plugin ID and no manual verification, you are buying a scan with a cover page. Every finding above was reproduced by hand before it was written up.
  • Not padded. Informational items belong in an appendix, not inflating a headline count.
  • Not unactionable. “Implement secure coding practices” is not remediation advice. Name the file, the setting, or the control.
  • Not one-audience. Leadership and engineers need different documents. They should be different sections, not a compromise.

Report questions

At minimum: a scope and methodology statement that says what was tested and what was explicitly excluded; an executive summary written for non-technical readers; each finding with a severity rating, the evidence that proves it, its business impact and specific remediation steps; and a prioritised roadmap. Anything missing the evidence or the prioritisation is a list of alerts, not a report.

No, and deliberately so. Every finding here came from a lab environment built for this page, and all hosts use the reserved .example domain. Publishing a real client's report needs their consent even when redacted. The structure, evidence depth and tone are identical to what you receive; only the target is synthetic.

Yes for the evidence it is asked to provide. SOC 2 CC7.1 and PCI DSS Requirement 11.4 both want an independent test with documented findings and remediation follow-through, which is what the retest and remediation letter cover. NCA ECC control 2-11, SAMA and NESA IAS have their own specifics - including, for NESA, review of the tester's credentials. Bring your framework to the scoping call and the deliverables are shaped to it.

Within two business days of testing finishing for a standard engagement. Anything critical is not held for the report - you get told the day it is found, by whichever channel we agreed, so you can start remediating before the document lands.

PDF for distribution, and the findings as structured data (CSV or JSON) if you want to load them into Jira, a GRC platform or a risk register. Auditors generally want the PDF plus the retest letter.

On the scoping call, yes - a genuine redacted excerpt can be walked through live, under NDA where needed. What cannot happen is publishing a client's report on a public page without their agreement, which is why this page uses a lab target instead.

Want this for your own systems?

Free scoping call, fixed price in writing before anything starts.