id: wso2-management-console

info:
  name: WSO2 Management Console Login Panel - Detect
  author: dhiyaneshDK,johnk3r
  severity: info
  description: WSO2 Management Console login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/5691
  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:wso2:api_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: wso2
    product: api_manager
    shodan-query: http.favicon.hash:1398055326
    fofa-query: icon_hash=1398055326
    google-query: inurl:"carbon/admin/login"
  tags: panel,wso2,edb,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/carbon/admin/login.jsp'

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "<title>WSO2 Management Console</title>"
          - "WSO2 Carbon Server"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: kval
        part: header
        kval:
          - server
# digest: 4a0a00473045022100c50c2b4928e80c37b197f6800dde32184d50540be7cbadd5d32120435b044a460220480e9c47795cdce1f66eb91929bc546ee46ca98f0afa09ee1828d032efaa03fb:922c64590222798bb761d5b6d8e72950