id: odoo-panel

info:
  name: Odoo - Panel Detect
  author: DhiyaneshDK,righettod
  severity: info
  classification:
    cpe: cpe:2.3:a:odoo:odoo:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: odoo
    shodan-query: title:"Odoo"
    vendor: odoo
    verified: true
  tags: login,panel,odoo

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

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Odoo</title>'
          - 'odoo.session_info'
          - 'web.layout.odooscript'
        condition: or

      - type: word
        part: body
        words:
          - 'Log in'

      - type: word
        part: header
        words:
          - "text/html"

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