Tomcat and Java

Platform misconfigurations in Tomcat and Java application servers: the AJP connector (Ghostcat) file read and inclusion, Manager/Host-Manager deployment to RCE, and path-parameter traversal and security-constraint bypass.

1 ನಿಮಿಷದ ಓದುಅಕ್ಟೋ 7,2026 ರಂದು ನವೀಕರಿಸಲಾಗಿದೆflorianamette1 ಕೊಡುಗೆದಾರ
ನಿಮ್ಮ ಸಹಾಯಕವನ್ನು ಕೇಳಿ (MCP)GitHub ನಲ್ಲಿ ಸಂಪಾದಿಸಿ

Java application servers (Apache Tomcat, and relatives like JBoss/WildFly, Jetty, and GlassFish) carry a misconfiguration set unlike the Apache/nginx/IIS file-servers: a secondary AJP connector, bundled management applications that deploy code, and servlet path handling with its own quirks. Fingerprint Java from the JSESSIONID cookie, X-Powered-By: Servlet, default Tomcat error pages, and the /manager//examples apps, then work this checklist.

What to check#

  • AJP connector (Ghostcat): the AJP port (classically 8009) exposes a protocol that can read or include files under the web app, reaching source disclosure and, with an uploadable file, RCE.
  • Manager and Host-Manager apps: default or weak credentials on /manager/html (and /host-manager) allow deploying a WAR, which is direct RCE.
  • Path parameters and normalization: the ; path-parameter separator and servlet normalization let crafted paths bypass security constraints and reach protected servlets.

Pages#

References#

  • Apache Tomcat documentation: AJP connector, Manager app, security
  • OWASP WSTG: Testing for application platform configuration