id: oracle-business-control

info:
  name: Oracle Commerce Business Control Center Login Panel - Detect
  author: dhiyaneshDk,righettod
  severity: info
  description: Oracle Commerce Business Control Center login panel was detected.
  reference:
    - https://docs.oracle.com/cd/E23095_01/Platform.93/ATGBCCAdminGuide/html/s0101introductiontotheatgbusinesscont01.html
  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:oracle:commerce:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: oracle
    product: commerce
    shodan-query:
      - "http.title:\"Oracle Commerce\""
      - http.title:"oracle commerce"
      - cpe:"cpe:2.3:a:oracle:commerce"
    fofa-query: title="oracle commerce"
    google-query: intitle:"oracle commerce"
  tags: oracle,login,panel,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/atg/bcc'
      - '{{BaseURL}}/atg/user/html/login.jsp'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Oracle Commerce Business Control Center</title>'
          - '/atg/userprofiling/InternalProfileFormHandler.loginSuccessURL'
          - '/atg/userprofiling/InternalProfileFormHandler.loginErrorURL'
        condition: or

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