id: oracle-opera-login

info:
  name: Oracle Opera Login - Detect
  author: DhiyaneshDK,righettod
  severity: info
  classification:
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Oracle Opera" && html:"/OperaLogin/Welcome.do"
  tags: panel,opera,oracle,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/OperaLogin/Welcome.do"

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Oracle, OPERA</title>'
          - '<title>OPERA Login'
        condition: or

      - type: status
        status:
          - 200
# digest: 490a00463044022054528025cc652e662b0f4e6755321fe18f8eb8d770fabe09cefc638b2b91c2d602205bb6f1dd6ef6eeb089c8daa13e956fd858c948859d2651711bcbe9f5bd5ac48e:922c64590222798bb761d5b6d8e72950