Skip to content

Penetration test report: an annotated example

All data on this page is synthetic. No real client, environment or finding is reproduced here.

Reading time
12 min
Published

If you have never received a penetration test report, you have no way to judge a proposal by its deliverable, because the deliverable only exists at the end of the work. To get around this, this page shows the complete structure filled in with synthetic findings, built only to illustrate the format.

A warning meant to be read literally: the company Exemplo Comércio Digital, the domain exemplo.test and all the findings below are fictitious. No real client data, no real environment and no real GUARDIASEC finding appears here. The requests were put together to demonstrate the format, and none of them can be reproduced against a real target.

You can use this material to know what to demand from a vendor, to structure an internal report for your own team or to understand how a finding becomes a remediation decision.

1. Executive summary

This is the section the board reads. In less than a page, it answers three questions: what the current risk is, what happens if nothing changes and what needs a decision. Technical jargon only goes in with an explanation, and every acronym is spelled out the first time it appears.

synthetic executive summary example
Client: Exemplo Comércio Digital (fictitious)Period: August 12 to 23, 2026Scope: online store web application and orders API, staging environmentApproach: gray box, with customer and operator credentialsResult: 9 findings (1 critical, 2 high, 4 medium and 2 low).The critical finding allows an authenticated customer to view ordersplaced by other customers by changing the identifier in the request,exposing name, delivery address and purchased items. It was reportedon the second day of testing, outside the report cycle.Decision needed: prioritize fixing authorization in the orders APIbefore the next sales campaign, when request volume and theexposure of the customer base increase.

Notice what the example does not do. It does not use the word hacker, does not estimate financial losses without a basis and does not claim that the environment will be secure after the fix. A report that exaggerates loses credibility at the first technical reading.

2. Scope and what was left out

The scope section protects both parties, because it records what was tested, what was not and why. Without it, a future incident in a component that was never assessed turns into an argument about responsibility.

Scope of the sample test
ItemStatusNote
loja.exemplo.testTestedWeb application, 3 access profiles
api.exemplo.testTestedREST API, 41 authenticated endpoints
admin.exemplo.testTestedAdmin panel, operator profile
Third-party payment gatewayOut of scopeThird-party environment, no authorization from the vendor
Internal network infrastructureOut of scopePlanned for a separate assessment
Denial of serviceNot performedExcluded by agreement, potentially disruptive technique

The section also records the limitations found during execution, such as the environment being unavailable in a given window, a feature blocked by edge protection that prevented complete testing, or an access profile that was not delivered in time. Leaving out a limitation is the same as declaring coverage that never happened.

3. Severity criteria

The report states how it classifies before classifying any finding. That way, the internal team can disagree with a specific rating without having to disagree with the whole method.

Severity matrix used in the example
SeverityCVSS base rangeContext adjustment
Critical9.0 to 10.0Or a lower score with public exposure and personal data in volume
High7.0 to 8.9Lowered when the asset is reachable only from a restricted network
Medium4.0 to 6.9Raised when it chains with another finding in the same report
Low0.1 to 3.9Kept, with the rationale recorded
InformationalNo scoreGood practice not adopted, with no demonstrated impact

4. Sample critical finding: broken authorization in the orders API

This is the complete format of a finding. Each field is there because someone needs it: the developer needs the steps, the manager needs the impact, the auditor needs the reference and the retest needs the verification criterion.

ACH-001 (synthetic)
Identifier: ACH-001Title: Broken object level authorization in order lookupSeverity: CriticalCVSS 3.1 vector: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (base score 6.5)Final severity: Critical (raised by the volume of personal data exposed  and by the public exposure of the endpoint)Reference: OWASP API Security Top 10, API1:2023 Broken Object Level  Authorization; OWASP WSTG-ATHZ-04Component: GET /v1/pedidos/{id} on api.exemplo.testProfile used: regular customer (test account [email protected])

Description

The order lookup endpoint checks whether the requester is authenticated, but it does not check whether the requested order belongs to the authenticated account. As a result, an authenticated customer can retrieve any other customer's order by supplying the corresponding identifier. Since the identifiers are numeric and sequential, there is not even anything to discover: decrementing the number of your own order is enough.

Reproduction steps

  • Log in to the store with the test account [email protected] and obtain the session token
  • Create an order and note the identifier returned, for example 48213
  • Repeat the lookup replacing the identifier with a lower value, for example 48212
  • Observe that the response returns 200 with the contents of an order from another account
synthetic evidence, with masked data
GET /v1/pedidos/48212 HTTP/1.1Host: api.exemplo.testAuthorization: Bearer <token for account teste-a>HTTP/1.1 200 OKContent-Type: application/json{  "pedido": 48212,  "cliente": "M**** S****",  "email": "m****@exemplo.test",  "endereco": "Rua ****, 1**, São Paulo SP",  "itens": [{ "sku": "SKU-8842", "qtd": 1 }],  "total": 249.90}

Impact

Proven: an authenticated customer can access other customers' order data, including name, email, delivery address and purchased items. Plausible but untested consequence: since the identifiers are sequential, full enumeration of the order base is feasible, which would amount to improper processing of personal data at scale under the LGPD (Brazil's General Data Protection Law). Mass enumeration was not performed, by decision, to limit the impact of the test.

Recommendation

  • Validate on the server side, in every endpoint that receives an object identifier, whether the resource belongs to the authenticated identity
  • Centralize the check in a common layer, so the rule does not depend on each developer remembering to apply it
  • Replace sequential identifiers with unpredictable ones, as a complementary measure and never as the main fix
  • Log denied access attempts, so that future exploitation can be detected
  • Check the other endpoints that receive identifiers: the same missing validation usually shows up in several of them

The third recommendation hides a common trap. Swapping a sequential identifier for a random one makes exploitation harder, but still possible, and many teams stop there. Without ownership validation on the server, the flaw still exists for anyone who finds a valid identifier some other way.

Retest criterion

The finding will be considered fixed when the request from the reproduction steps returns 403 or 404 for an order that does not belong to the authenticated account, and when the same check passes on at least three other endpoints that receive an object identifier.

5. Sample medium finding: admin panel session that never expires

Not every finding needs this much detail. Lower-severity findings fit in a shorter format, as long as they keep the evidence and the retest criterion.

ACH-004 (synthetic)
Identifier: ACH-004Title: Admin panel session with no inactivity timeoutSeverity: MediumCVSS 3.1 vector: AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N (base score 5.3)Reference: OWASP WSTG-SESS-07Component: admin.exemplo.test, session cookieDescription: the panel session cookie stays valid for 30 daysand does not expire on inactivity. An unlocked workstation or a cookieobtained from a shared device gives prolonged administrative accesswithout new authentication.Evidence: a cookie issued on Aug 12 was still accepted on Aug 21 withno intermediate request from the same session.Recommendation: expire the admin profile session after 15 to 30minutes of inactivity, invalidate the session server side on logoutand require reauthentication for sensitive operations.Retest: an admin session idle for more than 30 minutes must berejected and redirected to authentication.

6. Consolidation and remediation order

After the individual findings, the report consolidates everything. The consolidation table is the document the team takes to sprint planning, which is why it needs to include a deadline and an owner, in addition to severity.

Sample consolidation (synthetic data)
IDFindingSeveritySuggested deadline
ACH-001Broken authorization in the orders APICriticalImmediate
ACH-002User enumeration in password recoveryHigh15 days
ACH-003Upload accepts an unexpected file typeHigh15 days
ACH-004Admin session with no expirationMedium30 days
ACH-005Missing security headers on the storeMedium30 days
ACH-006Error message reveals component versionMedium60 days
ACH-007Cookie without the SameSite attributeMedium60 days
ACH-008Password policy allows common passwordsLowNext cycle
ACH-009Directory listing enabled on a static hostLowNext cycle

One observation that almost never appears in report templates: findings that chain together deserve a joint note, because together they can weigh more than each one's severity suggests. In the example, user enumeration combined with the weak password policy forms a more relevant attack path than either of the two on its own.

7. Retest and closing

The retest produces a short document that updates the status of each finding. The description is not repeated: the document only records the result of the check and what supports that conclusion.

Sample retest result
IDStatusVerification
ACH-001FixedRequest for an order from another account returns 403; verified on 4 endpoints
ACH-002FixedSame response for existing and nonexistent accounts
ACH-003Partially fixedFile type validation applied on upload, missing on reprocessing
ACH-004FixedIdle session rejected after 20 minutes
ACH-005Not fixedHeaders still missing on the store

The ACH-003 row shows why the retest matters. The fix was applied to the main path and left out a secondary path that uses the same function. Without a retest, the finding would have been marked as resolved and would come back in the next test.

The closing records the destruction or return of the test data, the credentials received and the evidence containing information about the client's environment, as agreed at the start of the engagement.

Practical checklist

  • One-page executive summary, readable by non-technical people
  • Scope with what was tested, what was left out and why
  • Limitations found during execution recorded explicitly
  • Severity criteria stated before the findings
  • Each finding with a stable identifier, reused in the retest
  • Full CVSS vector, not just the score
  • Public reference for each finding (WSTG, API Top 10, CWE)
  • Reproduction steps that the internal team can follow
  • Evidence with sensitive data masked
  • Separation between proven impact and plausible consequence
  • Actionable recommendation, with the main fix set apart from the complementary one
  • Objective retest criterion for each finding
  • Consolidation table with suggested deadlines
  • Record of data destruction or return at closing

Best practices

  • Ask for a sample report before hiring: the format reveals the method
  • Require a stable identifier for each finding, to track remediation over time
  • Prefer a report that separates the proven from the plausible over one that tries to impress
  • Treat the report as a controlled document, with restricted access and a retention period
  • Take the consolidation table to planning, not the whole document
  • Record in the report itself the findings accepted as risk, with who accepted them and until when

Common mistakes

A report that delivers scanner output without validation
The team spends time investigating false positives and comes to distrust the whole document, including the real findings.
A finding without reproduction steps
The developer cannot confirm the problem, the fix becomes guesswork and the retest fails without anyone knowing why.
Severity assigned without justifying the context
Prioritization loses credibility, and the remediation queue ends up being set by whoever shouts loudest instead of by risk.
Evidence with real personal data left unmasked
The report itself becomes a repository of sensitive data, and it circulates by email with no access control.
A report without a limitations section
Partial coverage is read as complete coverage, and the untested area comes to be considered secure without ever having been assessed.

Sources and references

The technical claims in this guide are based on the publications below. If this text and the official source disagree, the official source prevails.

Authorship and review

Cesar Gargiulo

CEO and founder of GUARDIASEC. Technical and editorial lead for the content published in this library.

Published on . Found a technical error? Write to [email protected] and we will correct it and keep a record of the change.

Frequently asked questions

Is the data in this sample report real?
No. The company Exemplo Comércio Digital, the domain exemplo.test, the order identifiers and all nine findings are synthetic, built to demonstrate the format. No client data, no environment and no real GUARDIASEC finding is reproduced on this page, and no request shown here works against a real target.
Can I use this structure in my team's report?
Yes. The structure follows what the industry's public references recommend and can be adopted by any internal team that runs its own assessments. In practice, the fields that make the most difference are the severity criteria stated before the findings and the objective retest criterion for each finding.
What does a penetration test report need in order to be auditable?
Scope with dates and targets, explicit severity criteria, a stable identifier for each finding, evidence with reproduction steps, a public reference for each class of flaw and a record of the retest. With that, a third party can verify how each conclusion was reached without depending on the memory of whoever ran the test.
Why does the report separate proven impact from plausible consequence?
Because the difference between the two changes the decision. Proving access to one record and claiming access to the whole database are different things, and a report that confuses the two loses credibility at the first technical review. The separation also makes clear what was not executed because of the decision to limit the impact of the test.
Does GUARDIASEC deliver its report in this format?
Yes, with the same structure: an executive summary separate from the technical detail, scope with exclusions and limitations, stated severity criteria, findings with evidence and reproduction steps, consolidation with remediation order and a retest of the reported flaws.

When to bring in specialist help

If you have received a penetration test report and cannot turn the findings into tasks with a deadline and an owner, the problem usually lies in prioritization, not in the team. Reading the report together with someone who understands the environment solves most cases, and it also helps identify the findings that deserve a structural fix instead of a one-off patch.

If you are evaluating a provider, describe the environment and the timeline, and we will send you a written proposal. Request a proposal for penetration testing