Skip to content
Path traversal Disclosed report Intermediate

Path traversal in a Tomcat server

A path normalisation mismatch between a reverse proxy and the Tomcat application server allowed crafted URLs to reach internal resources. An attacker could use this to access the administrator page and other internal resources on the server.

tosun Follow

Originally disclosed on HackerOne

  • Triaged in 9 days
  • Fixed in 13 days
  • Disclosed after 2.5 years

Summary by the program

A vulnerability exposed internal resources such as the administrator page on the server operated by LINE. The path normalization vulnerability arises from a misconfiguration between the reverse proxy and the WAS. This vulnerability occurred in the process of correcting an incorrect path in the proxy settings set by nginx and others. In this case, the attacker entered the string "..;/" into the URL's path, and the path was passed to Tomcat. Tomcat treats "..;/" as "../" and accesses the requested path as the path to transmit the resource.

The original report as published on HackerOne, by tosun. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a path normalisation mismatch: the reverse proxy did not normalise a path containing a semicolon segment, while Tomcat treated it as a parent-directory traversal.

What the attacker needed

Reverse proxy in front of Tomcat; proxy and server disagree on path normalisation

How it was found

  1. Send a request whose URL path contains the sequence '..;/'.
  2. The reverse proxy passes the path through to Tomcat without normalising it.
  3. Tomcat interprets the sequence as a parent-directory traversal and serves the requested internal resource.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A reverse proxy is the front door that forwards requests to a web server behind it. Here the front door and the server behind it disagreed about how to clean up a path containing a special sequence, so a request meant to be blocked reached internal pages. This let someone view pages that should only be reachable from inside.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by tosun

View all

8 more disclosed reports, best first.

More from LY Corporation

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.