id: odoo-unprotected-database

info:
  name: Odoo - Unprotected Database
  author: pdteam
  severity: critical
  description: |
    The system has an Odoo application whose database manager is unprotected, indicating potential unauthorized access.
  remediation: |
    Implement and enforce proper authentication and access control measures to protect the Odoo database manager.
  classification:
    cpe: cpe:2.3:a:odoo:odoo:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: odoo
    product: odoo
    shodan-query: title:"Odoo"
  tags: odoo,database,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/web/database/manager'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Warning, your Odoo database manager is not protected."

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