Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🛡️ Penetration Test Engagement Report

Target: Vulnerable Application
Engagement Type: Internal Web Application Penetration Test
Status: Findings Identified & Documented


📋 Engagement Overview

A full-scope penetration test was conducted against the Vulnerable Application to identify security weaknesses in authentication, session management, authorization, and business logic. Below are the key findings with supporting evidence.


🔍 Findings & Evidence

Finding F23 — Insecure Direct Object Reference (IDOR) in Card List

The application exposes sensitive card data via an IDOR vulnerability in the card listing endpoint. An authenticated user can enumerate other users' card details by manipulating identifiable parameters.

Evidence

F23 - Baseline Card List

Description: Baseline view of the card list endpoint showing accessible card records. Parameter manipulation confirmed unauthorized access to other users' data.


Finding F24 — Incomplete Session Invalidation (Logout)

The application fails to properly invalidate authentication tokens upon user logout, allowing an attacker with a captured session token to continue accessing resources post-logout.

Evidence — Pre-Logout Authenticated State

F24 - Logged In Before Logout

Description: The user is authenticated and actively viewing protected resources prior to initiating logout.

Evidence — Logout Redirect UI

F24 - Logout Redirect UI

Description: The logout action triggers a redirect, but session tokens remain active on the backend.

Evidence — Token Still Valid After Logout

F24 - Token Still Valid After Logout

Description: Post-logout request using the same authentication token returns valid data, confirming the token was not invalidated server-side.


Finding 27 — Race Condition in Account Operations

Parallel requests sent to the account management endpoint reveal a race condition that can lead to inconsistent state or unauthorized operations.

Evidence

27 - Account Before Race / Parallel Requests

Description: Account state captured before issuing concurrent (race) requests. The race window allows unexpected behavior when parallel requests are processed without proper locking.


📊 Risk Summary

Finding Type Severity
F23 — IDOR in Card List Authorization 🔴 High
F24 — Token Not Invalidated on Logout Session Management 🔴 High
27 — Race Condition in Account Ops Business Logic 🟡 Medium

🛠 Tools Used

Tool Purpose
Burp Suite Professional Proxy, Repeater, Intruder
Postman / cURL Manual request crafting
Browser DevTools Token & storage inspection
Custom Python Scripts Parallel race-condition testing

✅ Recommendations

  1. F23: Implement server-side ownership checks on all card list endpoints. Use indirect object references where possible.
  2. F24: Invalidate all active sessions server-side on logout. Clear token stores and blacklist JWTs.
  3. 27: Introduce database-level row locking and idempotency checks to prevent race conditions.

Made by ALLEN

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors