Vulnerability library
Security checkMay 13, 2024

Tomcat Version Disclosure

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Exposing detailed information such as the Tomcat version number facilitates attackers in identifying vulnerabilities and planning their attacks more effectively.

Test for Tomcat Version Disclosure Vulnerability with SmartScanner

Donwload FREE!

Recommendation

To mitigate this issue:

  • Open the server.xml file.
  • Find the Host section and add the following line immediately after it: <Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />
  • Save the file and restart the application.

References

Could your website be exposed too?

SmartScanner can check your website for Tomcat Version Disclosure and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 13, 2024