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,discovery

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: 4b0a00483046022100fbd8d4d1b237085f9d0430ebf98c469dbe37cdf38a0c0dbba2a340565750d85d022100ea9211aae99a26d80518d241a51f5463517573b264ffa999f48e4a1ffe06d1d1:922c64590222798bb761d5b6d8e72950