
Python PoC that exploits a path traversal in Atlassian Jira, Confluence, and Bitbucket to read arbitrary files, detect vulnerable hosts, and extract Crowd credentials.
An unauthenticated path traversal vulnerability in Atlassian products that allows remote attackers to read arbitrary files from the server via crafted double-colon (::) sequences in resource download URLs.
| Product | Component | File Leaked (default) |
|---|---|---|
| Jira | jira.webresources:color-picker-popup | WEB-INF/web.xml |
| Confluence | dashboard-actions | WEB-INF/web.xml, WEB-INF/classes/crowd.properties |
| Bitbucket | bitbucket-webpack-INTERNAL:avatar | WEB-INF/urlrewrite.xml |
python3 poc.py -h <target>
python3 poc.py -l targets.txt
| Flag | Description |
|---|---|
-h, --host | Single target (IP or hostname) |
-l, --list | File with one target per line |
-p, --port | Port (default: auto-detect from scheme) |
-c, --concurrency | Worker threads (default: 20) |
--timeout | Per-request timeout in seconds (default: 15) |
# Single host
python3 poc.py -h jira.example.com
# Single host with custom port
python3 poc.py -h 10.0.0.5 -p 8080
# Bulk scan from file
python3 poc.py -l targets.txt -c 50 --timeout 10
The vulnerability abuses the resource download servlet in Atlassian products. By substituting :: for / in the path, the traversal bypasses the servlet's path validation and walks up out of the resource directory to read sensitive files such as web.xml and crowd.properties (which contains Crowd/SSO credentials).
com.atlassian.jira.web.servletcontextproviderlistenercom.atlassian.confluence.impl.webapp.servletsinitializercom.atlassian.plugin.servlet.resourcedownloadutilsWhen Confluence is vulnerable, the tool also attempts to extract credentials from crowd.properties (server URL, application name, and password).
pip install requests colorama
This tool is provided for authorized security testing and educational purposes only. Unauthorized access to computer systems is illegal. Always obtain explicit written permission before testing.
c0d3Ninja — gotr00t0day.github.io