id: gnu-mailman

info:
  name: GNU Mailman Panel - Detect
  author: Matt Galligan
  severity: info
  description: |
    GNU Mailman panel was detected. Panel exposes all public mailing lists on server.
  classification:
    cvss-metrics: CVSS:3.1/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:gnu:mailman:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: mailman
    shodan-query: title:"Mailing Lists"
    vendor: gnu
    verified: true
  tags: exposure,mailman,panel,gnu

http:
  - method: GET
    path:
      - "{{BaseURL}}/mailman/listinfo"
      - "{{BaseURL}}/listinfo"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Mailing Lists"
          - "Description"
          - "list"
        condition: and
        case-insensitive: true

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