id: apache-jspwiki-ip-userenum

info:
  name: Apache JSPWiki - User IP Enumeration
  author: icarot
  severity: low
  description: |
    Enumerates the IP Address and users that is currently accessing an Apache JSPWiki web application, leading open source WikiWiki engine, feature-rich and built around standard JEE components (Java, servlets, JSP).
  classification:
    cpe: cpe:2.3:a:apache:jspwiki:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: apache
    product: jspwiki
  tags: jspwiki,apache,enumeration,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/Wiki.jsp?page=SystemInfo"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<b>Active Wiki Users</b>'
          - 'Number of active sessions'
        condition: and

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