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:
    verified: true
    max-request: 2
    vendor: gnu
    product: mailman
    shodan-query:
      - title:"Mailing Lists"
      - http.title:"mailing lists"
      - cpe:"cpe:2.3:a:gnu:mailman"
    fofa-query: title="mailing lists"
    google-query: intitle:"mailing lists"
  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: 4a0a00473045022051904d9364061c54c95b4cf5ad41745f3c3f5cadaa9ea0e1209c3b57ff83441d0221009dea04350c749d1a3c2b0e199d7581010633299352bd349039906bf0a7291889:922c64590222798bb761d5b6d8e72950