id: public-tomcat-manager

info:
  name: Apache Tomcat Manager Login Panel - Detect
  author: Ahmed Sherif,geeknik,sinKettu
  severity: info
  description: Apache Tomcat Manager login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: apache
    product: tomcat
    shodan-query:
      - title:"Apache Tomcat"
      - http.title:"apache tomcat"
      - http.html:"apache tomcat"
      - cpe:"cpe:2.3:a:apache:tomcat"
    fofa-query:
      - body="apache tomcat"
      - title="apache tomcat"
    google-query: intitle:"apache tomcat"
  tags: panel,tomcat,apache,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/manager/html'
      - '{{BaseURL}}/host-manager/html'

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "Apache Tomcat"
          - "Tomcat Manager"
        condition: or

      - type: status
        status:
          - 401
          - 200
        condition: or
# digest: 4b0a00483046022100b2c773376750c5b02fb74f01635719fe9ccbfff38bcf919c9344770cc00454f4022100ee4579fdafb6faf5df8cc853e8fab54a6efa6ae531d3c117199b7f473ba23533:922c64590222798bb761d5b6d8e72950