UnlockSec

Sample Assessment Report

Redacted for confidentiality

Q1 2025

Application Security

Web Application Penetration Testing

Client

Confidential Client — E-Commerce Platform

Scope

Primary e-commerce web application (authenticated + unauthenticated), admin portal, checkout and payment flows

Duration

8 business days

Standard

OWASP Testing Guide v4.2

Executive Summary

UnlockSec performed a manual web application penetration test of the client's e-commerce platform. The engagement uncovered 2 Critical vulnerabilities including an IDOR that allowed access to any customer order and payment details, and a stored XSS in the product review system with a clear path to session hijacking. 19 findings were identified in total, including 2 business logic flaws in the checkout flow that enabled price manipulation.

Methodology

OWASP Testing Guide v4.2OWASP Top 10 2021OWASP ASVS Level 2PTES Web Application Testing

Sample Findings

APP-001

IDOR — Horizontal Privilege Escalation on Order API

Critical

Description

The /api/v1/orders/{orderId} endpoint does not validate that the authenticated user is the owner of the requested order. By iterating the numeric orderId parameter, an attacker can retrieve full order details, shipping addresses, and partial payment information for any customer.

Recommendation

Implement server-side object ownership validation on all API endpoints. Use UUIDs or cryptographic tokens instead of sequential numeric IDs. Add rate limiting and anomaly detection on sensitive API endpoints.

APP-002

Stored XSS — Product Reviews with Session Hijacking Path

Critical

Description

Product review content is stored without sanitisation and rendered without encoding in the product listing pages. An attacker can submit a review containing malicious JavaScript that executes in the browser of any user viewing the product. The application session cookie lacks the HttpOnly flag, enabling full session theft.

Recommendation

Implement context-sensitive output encoding using a trusted library (e.g. DOMPurify). Set HttpOnly and Secure flags on all session cookies. Apply a strict Content Security Policy.

APP-003

Business Logic — Negative Quantity Price Manipulation

High

Description

The checkout API accepts negative product quantities. Submitting a cart with -1 quantity of a high-value item reduces the total payable amount, potentially allowing items to be purchased for zero cost or a net credit applied to the account.

Recommendation

Validate all quantity fields server-side with a minimum value of 1. Recompute cart totals server-side at checkout using trusted inventory data rather than client-supplied values.

APP-004

Missing Rate Limiting — Login Endpoint

Medium

Description

The /auth/login endpoint does not implement rate limiting or CAPTCHA for repeated failed authentication attempts. An attacker can perform automated credential stuffing or brute-force attacks without triggering account lockout.

Recommendation

Implement progressive rate limiting (exponential backoff after 5 failed attempts). Add CAPTCHA after 3 consecutive failures. Integrate with a threat intelligence feed for known credential-stuffed email/password pairs.

* Showing 4 of 22 total findings. Full report provided upon engagement.

Risk Summary

Critical2
High5
Medium8
Low4
Info3
Total Findings22

Deliverables Included

  • Executive summary and business risk narrative
  • Full OWASP Top 10 coverage report
  • Annotated HTTP request/response evidence for all findings
  • Developer-ready remediation guidance per finding
  • Unlimited retests until all Critical and High findings are resolved

Ready for a real assessment?

Get a tailored Application Security engagement led by certified operators with unlimited retests.

Request AssessmentView All Services