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.
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.
| Item | Status | Note |
|---|---|---|
| loja.exemplo.test | Tested | Web application, 3 access profiles |
| api.exemplo.test | Tested | REST API, 41 authenticated endpoints |
| admin.exemplo.test | Tested | Admin panel, operator profile |
| Third-party payment gateway | Out of scope | Third-party environment, no authorization from the vendor |
| Internal network infrastructure | Out of scope | Planned for a separate assessment |
| Denial of service | Not performed | Excluded 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 | CVSS base range | Context adjustment |
|---|---|---|
| Critical | 9.0 to 10.0 | Or a lower score with public exposure and personal data in volume |
| High | 7.0 to 8.9 | Lowered when the asset is reachable only from a restricted network |
| Medium | 4.0 to 6.9 | Raised when it chains with another finding in the same report |
| Low | 0.1 to 3.9 | Kept, with the rationale recorded |
| Informational | No score | Good 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.
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
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.
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.
| ID | Finding | Severity | Suggested deadline |
|---|---|---|---|
| ACH-001 | Broken authorization in the orders API | Critical | Immediate |
| ACH-002 | User enumeration in password recovery | High | 15 days |
| ACH-003 | Upload accepts an unexpected file type | High | 15 days |
| ACH-004 | Admin session with no expiration | Medium | 30 days |
| ACH-005 | Missing security headers on the store | Medium | 30 days |
| ACH-006 | Error message reveals component version | Medium | 60 days |
| ACH-007 | Cookie without the SameSite attribute | Medium | 60 days |
| ACH-008 | Password policy allows common passwords | Low | Next cycle |
| ACH-009 | Directory listing enabled on a static host | Low | Next 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.
| ID | Status | Verification |
|---|---|---|
| ACH-001 | Fixed | Request for an order from another account returns 403; verified on 4 endpoints |
| ACH-002 | Fixed | Same response for existing and nonexistent accounts |
| ACH-003 | Partially fixed | File type validation applied on upload, missing on reprocessing |
| ACH-004 | Fixed | Idle session rejected after 20 minutes |
| ACH-005 | Not fixed | Headers 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.
- API Security Top 10: API1:2023 Broken Object Level Authorization OWASP The class of flaw behind the critical finding used in the example.
- Web Security Testing Guide: Authorization Testing OWASP Test case identifiers cited in the findings.
- CWE-639: Authorization Bypass Through User-Controlled Key MITRE Classification of the weakness that corresponds to finding ACH-001.
- CVSS v3.1 Specification Document FIRST Definition of the vector components used in the sample findings.
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.