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

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