id: contao-login-panel

info:
  name: Contao Login Panel - Detect
  author: princechaddha
  severity: info
  description: Contao login panel was detected.
  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:contao:contao:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: contao
    product: contao
    shodan-query:
      - http.html:"Contao Open Source CMS"
      - http.title:"contao"
      - http.html:"contao open source cms"
      - cpe:"cpe:2.3:a:contao:contao"
    fofa-query:
      - title="contao"
      - body="contao open source cms"
    google-query: intitle:"contao"
  tags: panel,contao,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/contao/login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Contao Open Source CMS"
          - "<h1>Login</h1>"
        condition: and

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