id: jetty-showcontexts-enable info: name: Jetty showContexts Enable in DefaultHandler author: dhiyaneshDK severity: low description: Jetty showContexts is Enabled in DefaultHandler reference: - https://github.com/jaeles-project/jaeles-signatures/blob/master/common/jetty-showcontexts-enable.yaml - https://swarm.ptsecurity.com/jetty-features-for-hacking-web-apps/ metadata: verified: true max-request: 1 shodan-query: html:"contexts known to this" tags: jetty,misconfig http: - method: GET path: - "{{BaseURL}}" matchers-condition: and matchers: - type: word words: - "Contexts known to this server are:" - type: status status: - 404 # digest: 4b0a004830460221009482a085c0c67a40e4664c523d9232e10e999e3b79c6aff2869552a958f169ba022100bd5ca81660b790ed872e803d1d72059943a5772a09fbdd3212540013557c89d9:922c64590222798bb761d5b6d8e72950