Agent skill · security · aiskillstore

file-path-traversal

Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code.

Why this skill is useful

Provides specific exploitation techniques and payloads for identifying and exploiting file path traversal vulnerabilities that are not commonly known.

What it needs

Requires burp suite, curl, ffuf, owasp zap, wfuzz installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments. File Path Traversal Testing Purpose Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code. This vulnerability occurs when user-controllable input is passed to filesystem APIs without proper validation. Prerequisites Required Tools Web browser with developer tools Burp Suite or OWASP ZAP cURL for testing payloads Wordlists for automation ffuf or wfuzz for fuzzing Required Knowledge HTTP request/response structure Linux and Windows filesystem layout Web application architecture Basic understanding of file APIs Outputs and Deliverables 1. Vulnerability Report - Identified traversal points and severity 2. Exploitation Proof - Extracted file contents 3. Impact Assessment - Accessible files and data exposure 4. Remediation Guidance - Secure coding recommendations Core Workflow Phase 1: Understanding Path Traversal Path traversal occurs when applications use user input to construct file paths: Attack principle: ../ sequence moves up one directory Chain multiple sequences to reach root Access files outside intended directory Impact: Confidentiality - Read sensitive files Integrity - Write/modify files (in some cases) Availability - Delete files (in some cases) Code Execution - If combined with file upload or log poisoning Phase 2: Identifying Traversal Points Map application for potential file operations: Common vulnerable functionality: Image loading: /image?filename=23.jpg Template selection: ?template=blue.php File downloads: /download?file=report.pdf Document viewers: /view?doc=manual.pdf Include mechanisms: ?page=about Phase 3: Basic Exploitation Techniques Simple Path Traversal Absolute Path Injection Phase 4: Bypass Techniques Bypass Stripped Traversal Sequences Byp …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/file-path-traversal

View the source on GitHub

Browse the @skills marketplace