Download PDF
Sentinel · www.genehack.co.jp

Example Inc.

Black-box assessment
Web Application Penetration Test
Date2026-10-19
Version1.0
Overall riskCritical
Confidential
DEMO REPORT
About this demo reportThis report was produced from a test application for demonstration purposes. All company names, data and findings are sample content; no real customer data or production systems are included.
Prepared by GeneHack inc.© 2026 · All rights reserved.
Black-box assessment
External assessment
Confidential · Example Inc.

1. Executive Summary

This summary is intended for both executives and technical staff.

This black-box assessment of Example Inc. identified 4 findings (1 Critical, 2 High, 1 Medium). If exploited, they could lead to account or system compromise and the leakage of customer data. The overall risk is Critical. Please remediate the higher-severity items first.

1Critical
2High
1Medium
0Low
Findings by severity

2. Scope and Methodology

Test conditions

Test periodOctober 15, 2026 — October 19, 2026
EnvironmentProduction
Roles / accountsguest
user
Out of scopeDenial-of-service (DoS) testing, social engineering, and third-party services.

In scope

The assessment covered the storefront, REST API, and public site, testing both unauthenticated and authenticated (standard user) flows.

Target domains / endpoints

Endpoints: 6shop.example-inc.jp
MethodEndpoint
GET/#/administration
GET/#/search
POST/api/Feedbacks
POST/profile/image/url
GET/rest/products/search
GET/rest/user/whoami

Methodology

Without access to source code, we performed a black-box assessment from the perspective of an external attacker, aiming to manually cover the application’s functionality as comprehensively as possible. We combined automated scanning with detailed manual testing using an intercepting proxy, validating both unauthenticated and authenticated user flows.

3. Findings Overview

IDFindingSeverityStatus
F1SQL InjectionCriticalConfirmed
F2Server-Side Request Forgery (SSRF)HighConfirmed
F3Broken Access ControlHighConfirmed
F4DOM-based Cross-Site Scripting (DOM XSS)MediumConfirmed

4. Finding Details

F1

Critical SQL Injection

Target endpoint
GET https://shop.example-inc.jp/rest/products/search
CWE
CWE-89
Summary

User input is concatenated into SQL queries, allowing an attacker to alter the query structure and execute unintended queries.

Business impact

Disclosure of stored user email addresses and passwords (hashes) could lead to unauthorized account access if these credentials are subsequently decrypted or otherwise exploited. This may also result in disclosure or tampering of the entire database, potentially leading to full server takeover.

Reproduction steps
  1. Send a single quote in the q parameter and observe an error or a change in the response.
  2. Use a UNION-based payload to append columns from other tables.
  3. Confirm that database contents (such as user email addresses) are returned in the search results.
PoC (Proof of Concept)
GET /rest/products/search?q=qwert'))%20UNION%20SELECT%20id,email,password,'4','5','6','7','8','9'%20FROM%20Users-- HTTP/1.1
Host: shop.example-inc.jp
Remediation
Use parameterized queries (placeholders) or ORM bindings, and never concatenate input into SQL statements. We also recommend input validation and the use of a least-privilege database account.
F2

High Server-Side Request Forgery (SSRF)

Target endpoint
POST https://shop.example-inc.jp/profile/image/url
CWE
CWE-918
Summary

The server sends requests to user-supplied URLs without validation, allowing access to internal systems.

Business impact

This enables access to internal services and cloud metadata (which may include credentials), as well as lateral movement into the internal network.

Reproduction steps
  1. Set imageUrl to an internal or cloud-metadata URL.
  2. Send the request.
  3. The server makes an outbound request to the specified destination, confirming the SSRF.
PoC (Proof of Concept)
POST /profile/image/url HTTP/1.1
Host: shop.example-inc.jp
Cookie: token=<TOKEN>
Content-Type: application/x-www-form-urlencoded

imageUrl=http://169.254.169.254/latest/meta-data/
Remediation
Restrict destinations and schemes with an allowlist, and block private/link-local address ranges. Also validate the resolved IP address after name resolution and disable redirects.
F3

High Broken Access Control

Target endpoint
GET https://shop.example-inc.jp/#/administration
CWE
CWE-862
Summary

Operations and resources can be accessed without the required authorization checks.

Business impact

This can lead to privilege escalation and unauthorized actions or data access.

Reproduction steps
  1. Register and log in as a standard user.
  2. Navigate directly to https://shop.example-inc.jp/#/administration.
  3. Despite lacking administrator privileges, the admin panel is displayed, listing all users and feedback.
PoC (Proof of Concept)
https://shop.example-inc.jp/#/administration
Remediation
Adopt a deny-by-default design and enforce server-side authorization on every endpoint and operation.
F4

Medium DOM-based Cross-Site Scripting (DOM XSS)

Target endpoint
GET https://shop.example-inc.jp/#/search
CWE
CWE-79
Summary

Client-side JavaScript writes attacker-controllable data into a dangerous DOM API (sink).

Business impact

Scripts run in the victim’s browser, allowing session and credential theft.

Reproduction steps
  1. Open a search URL with an image-based XSS payload in the q parameter.
  2. Client-side JavaScript reads the value from location.hash and writes it to an unsafe DOM sink.
  3. The onerror handler fires, confirming script execution.
PoC (Proof of Concept)
https://shop.example-inc.jp/#/search?q=<img src=x onerror=alert(document.domain)>
Remediation
Avoid dangerous DOM APIs (sinks such as innerHTML and eval), use safe APIs such as textContent, and sanitize data before rendering.

5. Remediation Roadmap

The recommended order of remediation, from highest business risk.

Immediate

  • F1 — SQL Injection

Short term

  • F2 — Server-Side Request Forgery (SSRF)
  • F3 — Broken Access Control

Medium to long term

  • F4 — DOM-based Cross-Site Scripting (DOM XSS)

6. Appendix

Approach and standards

The assessment centered on expert manual testing with an intercepting proxy, combined with automated analysis and custom tooling. It was guided by the OWASP Top 10, and every finding was manually verified and reproduced with a PoC.

Disclaimer

This report is confidential and intended solely for the named client. The findings reflect the state of the application at the time of testing.
Demo report notice
This is a demonstration report generated from a test application. It contains sample information only, and no real customer or company data has been published here.