Reputation: 273
I am facing Apache Tomcat examples directory vulnerabilities in one of the scenario, what I use the pattern '..;' in url relaive path as below: https://website.com/..;/manager/html as it's a servlet based application, The issue occurs when I use '..;' or any pattern preceded by '..;' https://website.com/..;..=../manager/html I can resolve it by settings of listings parameter in <CATALINA_HOME>\conf\web.xml'. Other than this resolution, how can we eliminate semicolon OR the patter '..;' in the URL.
Upvotes: 0
Views: 1679
Reputation: 48087
You're running a version that was released in 2013 of a branch (6.0.x) that has reached its end of life in 2016. Since then, lots of security issues have been fixed.
The only sensible recommendation is to upgrade to a version that is still being maintained (eg Tomcat 9), and never again let yourself get so horribly behind the times again, especially on server side software.
You might want to try if 6.0.53 fixes this particular issue, but it is not a long term solution, just a quick way to try fixing this particular issue that you're aware of before you finally do a major version upgrade, to fix all of the issues that you're not aware of yet:
Upvotes: 2